PetitParser and PetitCompiler for Smalltalk/X
Grammars for programming languages are traditionally specified statically. They are hard to compose and reuse due to ambiguities that inevitably arise. 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.
For more details on PetitParser itself refer to PetitParser homepage
PetitCompiler compiles regular PetitParser grammars into an equivalent top-down parser implemented in Smalltalk. The compiled parser is significantly faster than PetitParser based one.
For more information on how to use PetitCompiler refer to wiki
The MIT License, see LICENSE.