Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 368 Bytes

state.md

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