Sujet : Re: Searching the Forth Dictionary
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 01. Jan 2025, 15:00:30
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$4c3e2ecc$13a2a218@cc1c82711f7fdfae>
References : 1 2 3
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
20241231185256.1ae04c7aa9c7b24a19e39956@gmail.com>,
Sidney Reilley <
sidney.reilley.ii@gmail.com> wrote:
On Wed, 1 Jan 2025 12:31:46 +1100
dxf <dxforth@gmail.com> wrote:
>
On 1/01/2025 12:15 pm, Sidney Reilley wrote:
Eternal Forth noob here. Tired & retired but still at it.
I'm currently playing with pforth. I'm following along this
video: https://youtu.be/qZKXZifB39Y which is using swiftforth.
He uses the word `edit' <filename> to create a file.
>
Is it possible to search a Forth implementation's dictionary to
see if a particular words is built in - like `edit' in this
case? TIA ..
>
' EDIT will report whether the word exists in the current search
order.
>
The Standard has WORDS which displays all words. Many systems
augment that either by expanding WORDS to allow a pattern match,
or a separate word to do that. According to the pforth docs it
has:
>
WORDS.LIKE <name>
>
Many thanks! I installed pforth by cloning its from githup repo. No
docs in there. Where did you find the docs please? TIA ..
With all due respect, but why choose a Forth where you have no
documentation?
You have not looked very far.
If you install pforth on linux (as I did) you have a man page
that refers to
http://www.softsynth.com/pforth/.
Plenty of documentation there.
--
Duke
** Bottom-posting, text-only is the netiquette way! **
Groetjes Albert-- Temu exploits Christians: (Disclaimer, only 10 apostles)Last Supper Acrylic Suncatcher - 15Cm Round Stained Glass- Style WallArt For Home, Office And Garden Decor - Perfect For Windows, Bars,And Gifts For Friends Family And Colleagues.