The scanner-attoparsec package

[ Tags: bsd3, library, parsing ] [ Propose Tags ]

Backtracking kills performance, so scanner package doesn't support it. But sometimes you just need it. E.g. you have a mostly non-backtracking parser, but a small bit of its grammar is too complex to transform it to non-backtracking form. In that case you can inject a backtracking attoparsec parser into otherwise non-backtracking scanner.

See also http://hackage.haskell.org/scanner


[Skip to Readme]

Properties

Versions 0.1
Change log changelog.md
Dependencies attoparsec, base (<5), scanner [details]
License BSD3
Copyright (c) Yuras Shumovich 2016
Author Yuras Shumovich
Maintainer shumovichy@gmail.com
Category Parsing
Home page https://github.com/Yuras/scanner-attoparsec
Source repository head: git clone git@github.com:Yuras/scanner-attoparsec.git
Uploaded Sat Apr 2 19:44:57 UTC 2016 by YurasShumovich
Distributions NixOS:0.1
Downloads 103 total (8 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-04-02 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for scanner-attoparsec-0.1

[back to package description]

scanner-attoparsec

Inject attoparsec parser with backtracking into non-backtracking scanner

Build Status

Backtracking kills performance, so scanner package doesn't support it. But sometimes you just need it. E.g. you have a mostly non-backtracking parser, but a small bit of its grammar is too complex to transform it to non-backtracking form. In that case you can inject a backtracking attoparsec parser into otherwise non-backtracking scanner.

See also http://hackage.haskell.org/package/scanner