Join Nostr
2025-08-21 18:31:10 UTC
in reply to

typeswitch on Nostr: for the record, i think return stack manipulation in forth is unequivocally a bad ...

for the record, i think return stack manipulation in forth is unequivocally a bad idea. not just to emulate expression languages, but in general. it gets a pass only because forth is so spartan & has so few places to put data.

but a modern forth that isn't trying to be so minimal ought to give you access to many data stacks imo.

e.g. in mirth you have as many stacks as you want, with different names. >x pushes on the x stack, >foo pushes on the foo stack, bar> pops from the bar stack, etc