Java C# Other
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.



Grammatica is a C# and Java parser generator (compiler compiler). It reads a grammar file (in an EBNF format) and creates well- commented and readable C# or Java source code for the parser. It supports LL(k) grammars, automatic error recovery, readable error messages and a clean separation between the grammar and the source code.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the separate LICENCE.txt file for more details.

Please see for more information.

Installation & Usage

See the separate doc/install.txt file for installation and usage for instructions.


See the separate doc/authors.txt file for author and acknowledgement details.

Bug Reports

See the Github project page for reporting errors and issues:


If you find this software package useful or interesting, please consider contributing to the project. Please see the project web site for more information:

Copyright (c) 2003-2015 Per Cederberg. Permission is granted to copy this document verbatim in any medium, provided that this copyright notice is left intact.