Skip to main content

parse_problem_str

Function parse_problem_str 

Source
pub fn parse_problem_str(input: &str) -> Result<Problem, ParseError>
Expand description

Tokenize and parse a PDDL problem from a raw source string.

This is the primary convenience entry point for problem parsing. It chains crate::lexer::tokenize and parse_problem in one call.

§Arguments

  • input - The raw PDDL problem source text

§Returns

A Problem AST on success.

§Errors

Returns ParseError on tokenization failures or parse failures.