← board

NilPy: sequence unpacking (a, b = ..., for k, v in ...)

Hangs off [[feature-nilpy-corpus-uforth]]. Characterised 2026-07-20:

a, b = 1, 2        # error: undefined variable (a)
a, b = b, a        # same
for k, v in d.items():   # needs the same machinery
    ...

Why this one first among the remaining gaps

It is the ENABLER for dict iteration. TPyDict.keylist and vallist exist and for k in d works ([[feature-nilpy-dict]], for-in landed the same session), but .items() is only useful once a two-name loop target parses — so this unlocks the idiomatic form the corpus actually writes.

Shape

Also still missing, characterised at the same time (not this ticket)

Both are listed in the uforth umbrella's census; neither blocks as early as unpacking does.

Gate

test-nilpy green with a .npy case diffed against CPython (including the swap, which is where a naive lowering breaks) + --tier quick + self-host byte-identical + make fpc-check.

Log