frisby: Linear time composable parser for PEG grammars
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.
Downloads
- frisby-0.2.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1, 0.2, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5 |
---|---|
Dependencies | array (<0.6), base (>=4.6 && <5), containers (<0.6), mtl (<2.3) [details] |
Tested with | ghc ==7.6 |
License | BSD-3-Clause |
Copyright | John Meacham (2006) |
Author | John Meacham <john@repetae.net> |
Maintainer | John Meacham <john@repetae.net>, Chris Done <chrisdone@gmail.com> |
Revised | Revision 1 made by HerbertValerioRiedel at 2016-12-07T20:33:17Z |
Category | Text |
Home page | http://repetae.net/computer/frisby/ |
Source repo | head: git clone https://github.com/chrisdone/frisby |
Uploaded | by ChrisDone at 2014-11-30T12:47:03Z |
Distributions | LTSHaskell:0.2.5, NixOS:0.2.5, Stackage:0.2.5 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 4993 total (33 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |