Liste des Groupes | Revenir à cl forth |
On 6/28/24 03:04, albert@spenarnc.xs4all.nl wrote:In article <v5kde0$2sasd$1@dont-email.me>,...
Krishna Myneni <krishna.myneni@ccreweb.org> wrote:
The whole Search Order word set is clunky and has a cobbled together
feel about it. It is also difficult to integrate a named modules system
into which provides Public/Private definitions into the standard words
e.g. making ORDER list the names of the modules isn't easy.
>
A stack model for the search order may be the way to go. It would be
more intuitive to Forth users than having to remember ONLY ALSO PREVIOUS
etc.
>
Currently the standard defines what a minimum search order should
contain but then promptly disregards it by standardizing 0 SET-ORDER.
This is dangerous in interpretation mode, and, while it may have uses in
compilation mode, within a definition where the prior search order can
be restored (or not), the notion of a well-defined minimum search order
should be a strong guarantee to the Forth programmer and not allowed to
be violated easily.
--
Krishna
Les messages affichés proviennent d'usenet.