Package Info

ghc-frisby


Linear time composable parser for PEG grammars


Development/Libraries/Haskell

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.


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/frisby

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2-bp150.2.4 info GA Release 2018-08-01 15
  • AArch64
  • ghc-frisby
  • ghc-frisby-devel
0.2-bp150.2.6 info GA Release 2018-07-31 15
  • ppc64le
  • ghc-frisby
  • ghc-frisby-devel
0.2-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-frisby
  • ghc-frisby-devel