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.