Word name storage quirk in VAX fig-Forth

Liste des GroupesRevenir à cl forth 
Sujet : Word name storage quirk in VAX fig-Forth
De : papa (at) *nospam* sdf.org (David Meyer)
Groupes : comp.lang.forth
Date : 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 Meyer
Takarazuka, Japan
papa@sdf.org

Date Sujet#  Auteur
16 Apr 25 * Word name storage quirk in VAX fig-Forth5David Meyer
16 Apr 25 `* Re: Word name storage quirk in VAX fig-Forth4Anton Ertl
17 Apr 25  `* Re: Word name storage quirk in VAX fig-Forth3David Meyer
17 Apr 25   `* Re: Word name storage quirk in VAX fig-Forth2dxf
17 Apr 25    `- Re: Word name storage quirk in VAX fig-Forth1David Meyer

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal