Create a grammar-independent Pratt engine. Grammar handlers and token producers
are trusted application code. They construct nodes and own language semantics.
Source, cursor and depth state are isolated for each parse, including reentry.
Options must be plain data records with known keys; undefined fields use defaults.
Create a grammar-independent Pratt engine. Grammar handlers and token producers are trusted application code. They construct nodes and own language semantics. Source, cursor and depth state are isolated for each parse, including reentry. Options must be plain data records with known keys; undefined fields use defaults.