Re: Searching the Forth Dictionary

Liste des GroupesRevenir à cl forth 
Sujet : Re: Searching the Forth Dictionary
De : sidney.reilley.ii (at) *nospam* gmail.com (Sidney Reilley)
Groupes : comp.lang.forth
Date : 01. Jan 2025, 02:52:56
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <20241231185256.1ae04c7aa9c7b24a19e39956@gmail.com>
References : 1 2
User-Agent : Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu)
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 ..
--
Duke
** Bottom-posting, text-only is the netiquette way! **

Date Sujet#  Auteur
1 Jan 25 * Searching the Forth Dictionary8Sidney Reilley
1 Jan 25 +* Re: Searching the Forth Dictionary6dxf
1 Jan 25 i`* Re: Searching the Forth Dictionary5Sidney Reilley
1 Jan 25 i +* Re: Searching the Forth Dictionary3dxf
1 Jan 25 i i`* Re: Searching the Forth Dictionary2Sidney Reilley
1 Jan 25 i i `- Re: Searching the Forth Dictionary1albert
1 Jan 25 i `- Re: Searching the Forth Dictionary1albert
1 Jan 25 `- Re: Searching the Forth Dictionary1albert

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal