3. Introduction to MetaL

3.6. Generating target source code

  • Each compiler module may execute any type of action to implement a MetaL command.

  • Actions may be immediate, like creating a file, or may be generating some output like the lines of code of a program in a given target language.

  • A compiler module may be able to generate code for the same MetaL command in multiple target languages.