Andrew Lentvorski wrote:
This place here has an interesting discussion as to how to do a simple vector addition in Forth and what that entails:

I noticed that when I was writing my own threaded interpreters. The first thing I did was added rot3, rot4, rot5, rot6, rot7, dup3, dup4, dup5, ....

All of a sudden, things like that became much easier.

dup6 dup6 dup6 + rot5 + rot4 + rot3  ( or some such )

On the other hand, I never got a function that took more than a handful of arguments or lines to work right in FORTH. I think his complaints are pretty accurate even for a language version with extended accessor bits.

--
Darren New / San Diego, CA, USA (PST)
Ever notice how people in a zombie movie never already know how to
kill zombies? Ask 100 random people in America how to kill someone
who has reanimated from the dead in a secret viral weapons lab,
and how many do you think already know you need a head-shot?

--
KPLUG-LPSG@kernel-panic.org
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-lpsg

Reply via email to