NicolasPetton/amber — pull request #198 by herby (2012-05-10 15:27:15+00:00)
Title: Compiler API part split from CodeGenerator part.

This is (one possibility of) splitting `Compiler` API class from worker `XxxCodeGenerator` object to which it delegates. The joint point is `Compiler >> compileNode:`. I looked over all methods that have class reference to Compiler, and all API is there (the only really internal one was unknownVariables, which is copied back from worker and so everything works).

The point of "which worker to use" is `Compiler >> codeGeneratorClass` which is now hardcoded, but is open to `set:` or whatever.