- Mar 20, 2008 7:46:50 PM (8 years ago)
v4 v5 143 143 144 144 The compiler needs to bring the plugin writer and users contributions together. A possible game plan might be: 145 0. Check for plugins referenced on the command line and give them a chance to parse command 145 0. 146 146 1. Suck in Haskell source as normal, but also parsing PLUGIN pragmas 147 147 2. Load up any plugins we see referenced by PLUGIN pragmas, discarding those we don't know about (on the basis that PRAGMAS are meant to be extra information that isn't essential to compile the program, though we might want to at least warn if we can't find one!). This could happen via [http://www.cse.unsw.edu.au/~dons/hs-plugins/ hs-plugins].