Xtext: code generation
In this part we discuss:
– how to “map” Entities Language to Java
– what are multiline template expressions in Xtend
and we implement a transpiler from Entities Language to Java.
This part is based on Chapter 5 of L. Bettini’s book Implementing domain-specific languages with Xtext and Xtend.