agent_logic.parsing.ast_parser

Classes

ASTParser()

Parses structured data (JSON/dict) into logical expressions.

class agent_logic.parsing.ast_parser.ASTParser[source]

Bases: object

Parses structured data (JSON/dict) into logical expressions.

static parse_dict(data)[source]

Recursively parses a JSON/dict representation into an expression.

Return type:

LogicalExpression

Parameters:

data (Dict)