1.3.0
Released on: December 21, 2017
- Code generator does not emit action code when the action is empty.
- New command-line parameter "-l" or "--language" to specify a target language
via command-line. This is useful when a grammar only contains AST definitions,
which allows to render and run it in any target. - Abstract syntax tree generation support:
- Drafting an abstract syntax tree definition syntax for the grammar language,
by using the operators "=" and ":=". See examples/expr.ast.par for an
example working under both C and Python without any modifications. - C and Python parser targets extended to construct abstract syntax tree
data structures dynamically. - These are first changes for an upcoming UniCC v2, where the targets shall
be re-used with only few improvements.
- Drafting an abstract syntax tree definition syntax for the grammar language,
- Fixed several bugs in the Python target on insensitive mode.
- Additionally allow ":" in case of "->" in grammar definitions.
- Internal code revisions started, but interrupted for now.
- Renamed folder "templates/" into "targets/".