License | BSD-3-Clause |
---|---|
Maintainer | Jamie Willis |
Stability | experimental |
Safe Haskell | None |
Language | Haskell2010 |
Exposes a transformation that annotates the parts of the grammar where cuts occur: these are places where backtracking is not allowed to occur. This information is used to help with correct allocation of coins used for Parsley.Internal.Backend.Analysis.Coins: the combinator tree has access to scoping information lost in the machine.
Since: 1.5.0.0
Synopsis
- cutAnalysis :: Fix Combinator a -> Fix Combinator a
Documentation
cutAnalysis :: Fix Combinator a -> Fix Combinator a Source #
Annotate a tree with its cut-points. We assume a cut for let-bound parsers.
Since: 1.5.0.0