PetitParser is a parsing framework for Smalltalk, Java and Dart.
PetitParser is a parsing framework originally written in Smalltalk.
PetitParser combines ideas from scannerless parsing, parser combinators, parsing expression grammars and packrat parsers to model grammars and parsers as objects that can be reconfigured dynamically.
Information can be found at the PetitParser page of the University of Bern.
There are implementations in
To get started with PetitParser you might have a look at:
- PetitParser Chapter in Pharo by example Volume 2
- Writing parsers with PetitParser in The Moose Book
- Video of Training Course by Tudor Girba, Part 1, Part 2