petitparser 0.2.2+m3 copy "petitparser: ^0.2.2+m3" to clipboard
petitparser: ^0.2.2+m3 copied to clipboard

outdatedDart 1 only

Dynamic parser combinator framework.

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. An introductionary tutorial is part of the class documentation.

370
likes
0
points
7.48M
downloads

Publisher

verified publisherlukas-renggli.ch

Weekly Downloads

Dynamic parser combinator framework.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

browser, unittest

More

Packages that depend on petitparser