petitparser 0.2.0 copy "petitparser: ^0.2.0" to clipboard
petitparser: ^0.2.0 copied to clipboard

outdatedDart 1 only

PetitParser is a generic parser framework combinding ideas from scannerless parsing, parser combinators, parsing expression grammars and packrat parsers. PetitParser models grammars and parsers as obj [...]

PetitParser #

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.

PetitParser was originally implemented in Smalltalk. Later on, as a mean to learn these languages, I reimplemented PetitParser in Java and Dart. The implementations are very similar in their API and the supported features. If possible I tried to adopt common practices of the target language.

Continuous build results are available from Jenkins.

283
likes
0
pub points
100%
popularity

Publisher

verified publisherlukas-renggli.ch

PetitParser is a generic parser framework combinding ideas from scannerless parsing, parser combinators, parsing expression grammars and packrat parsers. PetitParser models grammars and parsers as objects that can be reconfigured dynamically. The package includes JSON, XML and LISP parsers as examples.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

unittest

More

Packages that depend on petitparser