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
grammar/isc.parg — vendored verbatim from interscript-ruby@34bd8829 (introduced in WO13 commit 873caf2; blob c9d4ffc8), then extended in place with the ISC-WF-1 workflow constructs (ruleset / use / override / languages / when, spec docs/isc-wf-1.md §2). The four new keywords join the keyword table; no corpus map uses them at bare-identifier positions, so the extension is parse-additive.

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 ... }).