Module stack_ops

Module stack_ops 

Source
Expand description

Stack-based operations for iterative AST evaluation

This module defines the operation types used by the iterative evaluator to process expressions without recursion.

Enums§

BinaryOp
Binary operators
EvalOp
Operations that can be pushed onto the evaluation stack
UnaryOp
Unary operators

Functions§

ast_to_stack_op
Convert from AST representation to stack operation
is_binary_operator
Check if a string is a binary operator