scanner-attoparsec: Inject attoparsec parser with backtracking into non-backtracking scanner

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

Warnings:

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, 0.2, 0.2
Change log changelog.md
Dependencies attoparsec (>=0.14.1), base (<5), bytestring, scanner (<0.4) [details]
License BSD-3-Clause
Copyright (c) Yuras Shumovich 2016
Author Yuras Shumovich
Maintainer shumovichy@gmail.com
Category Parsing
Home page https://github.com/Yuras/scanner-attoparsec
Source repo head: git clone git@github.com:Yuras/scanner-attoparsec.git
Uploaded by YurasShumovich at 2021-04-02T23:24:20Z

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for scanner-attoparsec-0.2

[back to package description]

scanner-attoparsec

Inject attoparsec parser with backtracking into non-backtracking scanner

Haskell CI

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