Memoization

Return to Contents

CAUTION: This is implementation information and should not be relied upon in any way when using the library.

All intermediate parsing results are memoized. This is automatic and unavoidable, and is necessary to make piecewise parsing possible.

When piecewise parsing, the combinators that return partially complete results are used to determine what portion of the input must be passed forwards to allow calculating the full result when parsing future pieces.