Skip to content
Tcl Source Code Artifact [4f14e14514]
Login

Artifact [4f14e14514]

Artifact 4f14e1451430f7367e343d1fc7c8b866f350fea7aa36c6297d84d8e210e2cd4c:

Wiki page [branch/arith-series-bytecode] by dkf on 2025-06-17 08:22:00.
D 2025-06-17T08:22:00.282
L branch/arith-series-bytecode
N text/x-markdown
P 5858b8ddf4768905c1c7fb1e93db5520dfd7c9462ecc52b1ad34dfc61402b538
U dkf
W 495
This branch is about making `lseq`, a substantially complex command, have it's own bytecode instruction.

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.
Z fe28bdf6e95a61cbc870ebdb0e10d3b9