New Features of Eli Version 4.1
Parsing is the process of constructing a tree from a string of
characters; unparsing is the reverse: constructing a string of
characters from a tree.
An Eli user can specify an arbitrary unparser by means of a combination
of attribute computations and PTG
(see Top of PTG: Pattern-Based Text Generator)
templates.
For a large tree, this can be a tedious process.
Given a specification of the set of rules defining the tree,
Eli can now generate the combinations of attribute computations and PTG
templates needed to produce certain common unparsings.
This information can be extracted and modified, or it can be automatically
merged with the remainder of the specification to produce the output
routines for the generated processor.
See Top of Abstract Syntax Tree Unparsing, for details.
|