Projects / Grammatica

Grammatica

Grammatica is a parser generator (compiler compiler) for C# and Java. It improves upon similar tools (like yacc and ANTLR) by creating well-commented and readable source code, by having automatic error recovery and detailed error messages, and by support for testing and debugging grammars without generating source code. Grammatica supports LL(k) grammars with an unlimited number of look-ahead tokens.

Tags
Licenses
Operating Systems
Implementation

Recent releases

  •  07 Mar 2009 21:36

    Release Notes: Support was added for case-insensitive parsing, advanced regular expressions, and VisualBasic.NET code generation. The parsing speed has also been significantly improved for most grammars.

    •  28 Aug 2003 12:34

      Release Notes: This version includes Apache Ant integration and support for accessing tokens that were ignored during parsing (such as comments and whitespace). A bug in --profile was also fixed.

      •  27 Jul 2003 18:47

        Release Notes: This version fixes a major bug in the C# code generation, present in all previous releases. The documentation has also been improved a bit, but no features have been added.

        •  10 Jun 2003 21:46

          Release Notes: The tokenizer performance has been improved (50% in the average case). This version also contains various minor fixes in the error handling and error messages to further improve usability.

          •  26 May 2003 09:06

            Release Notes: This release adds automatic error recovery to all generated parsers. No changes were made to the grammar files, but the parser API was modified slightly. Two regular expression problems were also fixed.

            Screenshot

            Project Spotlight

            OpenStack4j

            A Fluent OpenStack client API for Java.

            Screenshot

            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.