Expand description
Argument Call Module
Constantsยง
- MAX_
ARG_ ๐RESOLUTION_ ITERATIONS - Maximum iterations allowed when resolving argument references through the scope chain. Prevents infinite loops when circular argument references exist (e.g., arg1 -> arg2 -> arg1).
- MAX_
BUBBLE_ ๐ARG_ ITERATIONS - Maximum iterations for the argument bubbling loop in
bubble_arg_call. Prevents infinite loops when bubbling arguments up through nested macro calls.
Functionsยง
- bubble_
arg_ call - Resolves a macro argument reference and generates its bytecode.
- resolve_
argument_ ๐through_ scope - Resolves an argument reference to the actual macro name it represents.