Compiler as dll
Walter Bright
newshound1 at digitalmars.com
Tue Jan 27 15:44:47 PST 2009
I've done the compiler-as-dll thing for the Digital Mars IDE. It has
some problems, though. The biggest is it's another executable to test,
doubling the testing process. It could be done as one executable by
making a shell that calls the dll, but those are just inconvenient,
harder to debug, and there's the old "dll hell" with versions.
Instead, what you can do is simply dude up command line arguments, spawn
the command line compiler, and collect the result.
More information about the Digitalmars-d
mailing list