packcc 1.2.5-19-g58d1b9d Packrat parser generator for C

PackCC is a packrat parser generator for the C programming language. Its main features are:

  • Generates a parser in C from a grammar described in a PEG.

  • Gives your parser great efficiency by packrat parsing.

  • Supports direct and indirect left-recursive grammar rules.

The grammar of your parser can be described in a PEG. The PEG is a top-down parsing language, and is similar to the regular-expression grammar. The PEG does not require tokenization to be a separate step, and tokenization rules can be written in the same way as any other grammar rules.