The frisby package
frisby is a parser library that can parse arbitrary PEG grammars in linear time. Unlike other parsers of PEG grammars, frisby need not be supplied with all possible rules up front, allowing composition of smaller parsers.
PEG parsers are never ambiguous and allow infinite lookahead with no backtracking penalty. Since PEG parsers can look ahead arbitrarily, they can easily express rules such as the maximal munch rule used in lexers, meaning no separate lexer is needed.
In addition to many standard combinators, frisby provides routines to translate standard regex syntax into frisby parsers.
|Dependencies||array (<0.6), base (>=4.6 && <5), containers (<0.6), mtl (<2.3) [details]|
|Copyright||John Meacham (2006)|
|Author||John Meacham <email@example.com>|
|Maintainer||John Meacham <firstname.lastname@example.org>, Chris Done <email@example.com>|
|Source repository||head: git clone https://github.com/chrisdone/frisby|
|Uploaded||Sun Nov 30 12:47:03 UTC 2014 by ChrisDone|
|Updated||Wed Dec 7 20:33:17 UTC 2016 by HerbertValerioRiedel to revision 1|
|Distributions||LTSHaskell:0.2, NixOS:0.2, Stackage:0.2, Tumbleweed:0.2|
|Downloads||722 total (8 in the last 30 days)|
|Status||Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees