Combined
rascal-0.40.17
Synopsis
Combine concrete syntax with abstract syntax.
Description
Concrete syntax gives full control over the textual appearance of a language and leads to parse trees
in a standard format (i.e., values of type Tree
).
Abstract syntax can be designed by the Rascal programmer according to his/her needs regarding the type checking, code generation, transformation, or optimization to be done on the abstract syntax trees.
How can we bridge this gap? We discuss two approaches: