Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 368 Bytes

File metadata and controls

9 lines (6 loc) · 368 Bytes

Maintaining State While Matching

While microgrammars themselves maintain and build up state while matching, the infrastructure can maintain state across the entire input (even when no match is in progress).

For example, this could be useful to:

  • Disable certain matches in a particular context
  • Stop parsing after a certain number of matches have been found

tbd