What is Nostr?
Digital Mark λ 📚 🕹 💾 🥃 /
npub1lwr…38zw
2024-11-23 10:04:43

Digital Mark λ 📚 🕹 💾 🥃 on Nostr: Python got loop-assignment (a while ago), great! while p:=nextPC(): stuff still fails ...

Python got loop-assignment (a while ago), great!

while p:=nextPC(): stuff

still fails because p might be 0, which is false. End up doing:

while (p:=nextPC()) is not None: stuff

Uugh. Still need to do more design on the toy impl before I start rewriting in something fast.

But, got named subroutines with local variables now. Just 436 LOC.
#retrocomputing #basic


Author Public Key
npub1lwr6ewhchfc8u4k0fupgl4kvr6vm3fu0aqe8e2msj9032ccmqeeqmu38zw