Skip to content
This repository was archived by the owner on Mar 20, 2024. It is now read-only.
This repository was archived by the owner on Mar 20, 2024. It is now read-only.

Matching AlternativeSets with optional child expansion early on #11

Description

@tsengia

If an alternative set has a purely optional child expansion, the set will always be matched, but not matched with the correct context. The matching should match the longest possible set of words as possible before continuing.

Example grammar:

  public <command> = (hello*) | (howdy partner);

This will cause the hello* to be matched, but never match the "howdy partner".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions