Skip to content

[FR] alternative, resumable, lazy, parser interface #15

@nsajko

Description

@nsajko

The only currently implemented parser interface takes an iterator of tokens, producing a (parse tree, error status) pair.

An alternative interface would take an incomplete parse tree (to be mutated) and a single token. Thus there would be a single call into the parser for each token with this interface.

The advantage is that the user might be able to extract useful information from the incomplete parse tree without having to process the entire token stream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions