Results 1 to 2 of 2
Thread: Rats! 1.11.0
- 05-15-2007, 05:36 AM #1levent Guest
Rats! is a parser generator for C-like languages (though currently it only generates parsers in Java). It has been designed so that grammars are concise and easily extensible. To this end, grammars are organized into modules that can be easily changed by adding, removing, or modifying alternatives in individual productions and composed with each other through module parameters. Furthermore, it relies on ordered choices to avoid ambiguities, supports syntactic predicates for unlimited lookahead, and integrates lexing with parsing. Finally, it has extensive support for automatically generating abstract syntax trees, thus greatly reducing the need for explicit semantic actions.
This release includes significant new features and bugfixes. Highlights of new features are more flexibility in declaring ASTs within grammars through '@NodeName' markers, improved error checking and grammar analysis facilities, and support for concrete syntax, i.e. the ability to specify source code templates instead of programmatically building up AST fragments.
- 12-19-2007, 10:20 AM #2Member
- Join Date
- Dec 2007
- Rep Power
- By JavaBean in forum Java SoftwareReplies: 0Last Post: 07-19-2007, 03:23 PM