pub fn parse_script(input: &str) -> Result<Vec<Step>, Diagnostic>Expand description
Parse a script using the production lower_command dispatcher.
The typed ParseError lifts into a Diagnostic at this boundary
via engine_parse_failed (keyed payloads reclaimed verbatim),
with no intermediate .context() wrapping, so the message survives.
Builtin function names seed the reserved set, so FUNC shadowing a
native fails here; hosts unknown at parse time fall back to the runtime
define_func guard.