Expand description
Iterator FFI Functions for JIT
Functions for iterator operations (done check, next element) in JIT-compiled code.
Functionsยง
- jit_
iter_ done - Check if iterator is exhausted Stack input: [iter, idx] Returns: TAG_BOOL_TRUE if done, TAG_BOOL_FALSE otherwise
- jit_
iter_ next - Get next element from iterator Stack input: [iter, idx] Returns: Element at idx, or TAG_NULL if out of bounds