Skip to content

Greedy parser for holes #387

@RomanSoloweow

Description

@RomanSoloweow

Good afternoon,

I'm sorry for my question, but how is the greediness of holes in a combi implemented?

Is Lookahead used for the entire pattern following the hole? If so, were there any optimizations added, such as memoization, to avoid parsing the entire following pattern in its entirety?

I wonder how the comby works in such a scenario, for example.
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions