Expand description
Recursive-descent shell parser for the $fy translator.
Produces a plain node tree which crate::fy::formalizer then
materialises as a meta-language links network. Keeping the two steps apart
means the grammar stays readable and the network construction stays
mechanical.
This parser is deliberately separate from crate::shell_parser, which
parses a single command line for the runtime. $fy needs whole-script
structure: comments, blank lines, control flow and function definitions.
Structs§
- Node
- A parsed shell construct.
Functions§
- parse_
shell_ script - Parses a shell script into a plain node tree rooted at a
scriptnode.