Skip to content
Tcl Source Code Changes To branch/arith-series-bytecode
Login

Changes To branch/arith-series-bytecode

Changes to "branch/arith-series-bytecode" between 2025-06-16 18:22:20 and 2025-06-17 08:22:00

1
2
3

1
2

3


-
+
This branch is about making `lseq`, a substantially complex command, have it's own bytecode instruction.

I'm not 100% happy with it; the semantics of `lseq` around expressions and the details of how it handles `NaN` arguments are messy.
The semantics of `lseq` around expressions (why does the TIP have to specify magical stuff there, when `expr` could have just been explicit?) and the details of how it handles `NaN` arguments are messy, but by splitting most of that into a separate function, TEBC isn't too bad. I _am_ satisfied that the opcode represents a good way to do it; the target API wants `NULL` in some places.