3. Introduction to MetaL

3.1. XML as programming source code

  • Developing a compiler is not a trivial programming matter.

  • It requires knowledge on:

    • Parsing source code with a given syntax.

    • Generating program output in a target executable format.

  • Using XML as source code greatly simplifies the problem.

    • XML requires a small set of strict syntax rules.

      • -> XML parsers are much simpler to build.