Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (1 / 5) |
Uptime: | 45:10:01 |
Calls: | 422 |
Calls today: | 1 |
Files: | 1,024 |
Messages: | 90,304 |
I discovered that some words documented in the Gforth manual, like MAX-U >(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >installations of Gforth 0.7.3.
Is there something messed up with my installations, or is there
something else (Forth command, installation, Gforth upgrade) to make
such words/wordsets available in my Gforth environment?
--
David Meyer
I discovered that some words documented in the Gforth manual, like MAX-U >(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >installations of Gforth 0.7.3.
Is there something messed up with my installations, or is there
something else (Forth command, installation, Gforth upgrade) to make
such words/wordsets available in my Gforth environment?
David Meyer <papa@sdf.org> writes:
I discovered that some words documented in the Gforth manual, like MAX-U >>(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >>installations of Gforth 0.7.3.
Is there something messed up with my installations, or is there
something else (Forth command, installation, Gforth upgrade) to make
such words/wordsets available in my Gforth environment?
The manual you are using is not the one for the Gforth version you are
using.
- anton
David Meyer <papa@sdf.org> writes:
I discovered that some words documented in the Gforth manual, like MAX-U >>(environment wordset) and u/ (gforth-1.0 wordset), are undefined in my >>installations of Gforth 0.7.3.
You can find the manual for Gforth-0.7 on <https://www.complang.tuwien.ac.at/forth/gforth/Docs-html/>.
Alternatively, you can install a recent snapshot using one of the
methods mentioned on <https://gforth.org/>.
The only thing that still mystifies me is why a seemingly basic word
like u/ wasn't added until so recently.
David Meyer <papa@sdf.org> writes:
The only thing that still mystifies me is why a seemingly basic word
like u/ wasn't added until so recently.
The standard has UM/MOD (and that has been in Gforth from the start)
if / does not satisfy your needs.
Actually IIRC we did not add U/ because of user demand, but mainly
because of implementation (speed of U/ vs UM/MOD on various CPUs) and completeness considerations.