Skip to main content

parse_classical

Function parse_classical 

Source
pub fn parse_classical(src: &str) -> Vec<(String, Vec<String>)>
Expand description

Parse a classical ff text plan into (NAME, [ARGS]) pairs (uppercased to match grounded-operator display names). Accepts the step N: first line and the bare N: continuation lines, with or without parens around the action, and ignores banner / timing / REACH-GOAL lines.