Re: Toad using many vocabularies

Liste des GroupesRevenir à cl forth 
Sujet : Re: Toad using many vocabularies
De : achowe (at) *nospam* snert.com (Anthony Howe)
Groupes : comp.lang.forth
Date : 01. Nov 2024, 16:08:20
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vg2qt3$39is5$1@dont-email.me>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 2024-11-01 10:28, Ruvim wrote:
Such a syntax is used in SP-Forth/4 since 2001, in the form <voc>::<word> or <voc1>::<voc2>::<word>
 Where <voc> is a word that returns wid, or a word that is created with `vocabulary`.
 This syntax in SP-Forth probably came after C++ "::" operator, introduced in 1998.  The same operator was in C# from its initial release in 2000.
 >
The dot "." operator for accessing nested packages in Java was introduced in 1995.
 In Forth, a dot is often used as part of plain names, so it was less suitable as a namespace separator.
Yep.  Bad idea to use dot.
Never liked `::`, found it visually distasteful.
Dare I suggest C's `->` which trumps others by decades.
Or simply create a new one like `:>` or  `~` (oh I'll be stoned for this one). I would prefer a single character, but there are so few good choices.
--
Anthony C Howe
achowe@snert.com                                   BarricadeMX & Milters
http://nanozen.snert.com/                          http://software.snert.com/

Date Sujet#  Auteur
31 Oct 24 * Toad using many vocabularies14sjack
31 Oct 24 `* Re: Toad using many vocabularies13mhx
1 Nov 24  +* Re: Toad using many vocabularies2sjack
1 Nov 24  i`- Re: Toad using many vocabularies1sjack
1 Nov 24  +- Re: Toad using many vocabularies1Anton Ertl
1 Nov 24  `* Re: Toad using many vocabularies9Stephen Pelc
1 Nov 24   +* Re: Toad using many vocabularies5Ruvim
1 Nov 24   i+* Re: Toad using many vocabularies2Anthony Howe
1 Nov 24   ii`- Re: Toad using many vocabularies1Ruvim
1 Nov 24   i+- Re: Toad using many vocabularies1Ruvim
1 Nov 24   i`- Re: Toad using many vocabularies1sjack
1 Nov 24   `* Re: Toad using many vocabularies3sjack
2 Nov 24    `* Re: Toad using many vocabularies2sjack
3 Nov 24     `- Re: Toad using many vocabularies1albert

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal