Sujet : Word name storage quirk in VAX fig-Forth
De : papa (at) *nospam* sdf.org (David Meyer)
Groupes : comp.lang.forthDate : 16. Apr 2025, 14:35:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <87zfgg8c0u.fsf@lucy.meyer21c.net>
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
I've been dusting-off fig-Forth for VAX-11 and noticed that every word
in the dictionary has 128 added to the character code of the last
character in the word name. Everything seems to work except a few things
like VLIST (prints a list of defined words like WORDS in ANS Forth)
printing a garbage character at the end of each word.
I wrote my own version of VLIST to unmunge the last characters, but it's
hard to believe it's been messed up for 40 years. Is there some
peculiarity in fig-Forth or the VAX-11 (I'm using significantly later
hardware and OS) that made this work correctly back in the day?
-- David MeyerTakarazuka, Japanpapa@sdf.org