Projects / Rats!

Rats!

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
Licenses
Implementation

RSS Recent releases

  •  30 Sep 2009 06:18

    Release Notes: This release fixes a bug in the handling of parser state.

    •  07 Apr 2009 00:25

    Release Notes: This release includes several assorted bugfixes.

    •  18 Oct 2008 17:17

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

    •  27 Jul 2008 06:47

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

    •  14 May 2008 17:23

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

    Screenshot

    Project Spotlight

    phpMyFAQ

    A PHP-based FAQ system.

    Screenshot

    Project Spotlight

    GNU recutils

    A set of tools and libraries to access human-editable text-based databases called recfiles.