Skip to content

v4.3.0 - Choice modes

Choose a tag to compare

@github-actions github-actions released this 07 Oct 18:38
· 74 commits to main since this release
057b8d9

Now LongestChoice and ShortestChoice is available:

builder.CreateRule("shortest_choice")
    .ShortestChoice(...);
builder.CreateRule("longest_choice")
    .LongestChoice(...);

Minor changes:

  • Newline token pattern is fixed (previously it could not match '\n').
  • Improved lookahead optimization mechanic.