The scanner-attoparsec package

[Tags:bsd3, library, test]

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 55 total (4 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-04-02 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for scanner-attoparsec

Readme for scanner-attoparsec-0.1

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