Liste des Groupes | Revenir à cl forth |
On Tue, 17 Sep 2024 10:54:37 +0000, Ruvim wrote:These things are well known.
Do you think that the Forth standard should recognize the classicFirst define exactly the [new things] that can be done with an xt or an
single-xt approach as possible for implementing a standard Forth system?
>
The classic single-xt approach implies that only one execution token
(xt) is associated with a name token (nt), and only one name token is
associated with a word (a named Forth definition). And words whose
compilation semantics differ form default compilation semantics are
implemented as immediate words.
nt.
What some of my customers tried is, by using standard words, associate
generated code sequences with an xt (nearly impossible),
or infer an nt from an xt (which is not 1-to-n [n>=3], and asymmetrical).Even in some classic single-xt systems, one xt can be associated with many nt. (of course, what is now "nt" was known as "NFA").
A limited/qualified guarantee for the nt-xt relationship can be useful.You probably mean the *xt* "DROP" from aa's DEFER@
Example: DEFER aa ' DROP IS aa allows to recover the nt "DROP" from
aa's DEFER@ and it is possible to disassemble linked lists of nt's.
Les messages affichés proviennent d'usenet.