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.
| Tags | Software Development Code Generators Compilers |
|---|---|
| Licenses | GPL LGPL |
| Implementation | Java |
Recent releases


Changes: This release includes several assorted bugfixes.


Changes: This release improves error reporting by generated parsers and fixes a code generation bug.


Changes: This release introduces Blink, a mixed-mode Java/native debugger.


Changes: This release fixes a variety of bugs across the entire code base.


Changes: This release fixes several bugs and also improves the support for typing abstract syntax trees.
A program that makes creating 3D scenes for your OpenSceneGraph applications really fun.