Welcome to PetitParser

PetitParser allows you to create efficient parsers in your favorite programming language easily:

PetitParser combines ideas from scannnerless parsing, parser combinators, parsing expression grammars (PEG) and packrat parsers to model grammars and parsers as objects that can be reconfigured dynamically.

To see PetitParser in action, check out these web-based examples using PetitParser for Dart:

There are some other more experimental examples available: