Concrete
Interpreter dataclass
Interpreter(
dialects: ir.DialectGroup,
*,
max_depth: int = 800,
max_python_recursion_depth: int = 131072,
debug: bool = False
)
Bases: InterpreterABC[Frame[Any], Any]
keys class-attribute instance-attribute
keys = ('main',)
The name of the interpreter to select from dialects by order. First matching key will be used.
void class-attribute instance-attribute
void = None
What to return when the interpreter evaluates nothing.
initialize_frame
initialize_frame(
node: ir.Statement, *, has_parent_access: bool = False
) -> Frame[Any]
Initialize the frame for the given node.
Source code in src/kirin/interp/concrete.py
17 18 19 20 21 | |