Monday 4 July 2011

Implementations

Of course, if I pre-processed into C++, then I could actually implement N-pass without too much effort, one hopes. Apparently, MSVC does offer command-line access without having to run their own command line if you run a batch file first. And, I can topsort to fix up the includes, especially with no macros, templates, etc. If the compiler could output the form as a DLL, say, where I want, and then I'll just GetProcAddress() it and execute. Dangerous to load code into the compiler process... maybe. All I'd have to do is define some simple data structures to represent the code, parse it, transform it, compile it with MSVC, load it, execute it, repeat.

No comments:

Post a Comment