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.5.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
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 |
---|---|
Change log | Changelog.md |
Dependencies | array, base (>=4 && <5), containers, fail, mtl, semigroups [details] |
Tested with | ghc >=8.4 && <8.5, ghc >=8.6 && <8.7, ghc >=8.8 && <8.9, ghc >=8.10 && <8.11, ghc >=9.0 && <9.1, ghc >=9.2 && <9.3, ghc >=9.4 && <9.5, ghc >=9.6 && <9.7, ghc >=9.8 && <9.9 |
License | BSD-3-Clause |
Copyright | John Meacham (2006) |
Author | John Meacham <john@repetae.net> |
Maintainer | Ben Gamari <ben@smart-cactus.org> |
Category | Text |
Home page | http://repetae.net/computer/frisby/ |
Source repo | head: git clone https://github.com/bgamari/frisby |
Uploaded | by BenGamari at 2023-12-02T02:01:41Z |
Distributions | LTSHaskell:0.2.5, NixOS:0.2.5, Stackage:0.2.5 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 5007 total (26 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-12-02 [all 1 reports] |