Skip to main content

Module grammar

Module grammar 

Source
Expand description

The embedded ISC grammar: grammar/isc.parg (vendored verbatim from interscript-ruby, see README provenance) compiled once through parsanol’s portable backend, plus the parse entry point that resolves the engine’s arena-backed tree into the owned parslet-shaped value tree (tree::TNode).

Constants§

ISC_PARG
Vendored verbatim from interscript-ruby@34bd8829 grammar/isc.parg (introduced in WO13 commit 873caf2; blob c9d4ffc8).

Functions§

parse_isc
Parse an ISC map source into the parslet-shaped value tree the Ruby-side Interscript::Isc::DocumentBuilder consumes.
run_grammar_suite
Run the accept/reject suite embedded in grammar/isc.parg (test isc { accept ... / reject ... }).