Instead, what you can do is simply dude up command line arguments, spawn the command line compiler, and collect the result.
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.
- Compiler as dll bearophile
- Re: Compiler as dll Christopher Wright
- Re: Compiler as dll Saaa
- Re: Compiler as dll Sandeep Kakarlapudi
- Re: Compiler as dll BCS
- Re: Compiler as dll Sandeep Kakarlapudi
- Re: Compiler as dll Walter Bright
- Re: Compiler as dll Jarrett Billingsley
- Re: Compiler as dll BCS
- Re: Compiler as dll Benji Smith
- Re: Compiler as dll Yigal Chripun
- Re: Compiler as dll Sandeep Kakarlapudi
- Re: Compiler as dll Yigal Chripun
- Re: Compiler as dll John Reimer
- Re: Compiler as dll grauzone
- Re: Compiler as dll Alexander Pánek
- Re: Compiler as dll grauzone
