Sujet : Re: single-xt approach in the standard
De : albert (at) *nospam* spenarnc.xs4all.nl
Groupes : comp.lang.forthDate : 22. Sep 2024, 11:05:53
Autres entêtes
Organisation : KPN B.V.
Message-ID : <nnd$3b76186c$2fc641e6@0fe49fbe843044b6>
References : 1 2 3 4
User-Agent : trn 4.0-test77 (Sep 1, 2010)
In article <
2024Sep22.095431@mips.complang.tuwien.ac.at>,
Anton Ertl <
anton@mips.complang.tuwien.ac.at> wrote:
dxf <dxforth@gmail.com> writes:
IMO small systems are better off with Forth-94.
>
Small systems pick and choose from standards as they see fit; they
ignore Forth-94 and Forth-2012 requirements in some places, but use
the standard as a guideline in places where compliance is compatible
with the requirements stemming from hardware limitations; in this
way the standard is useful even for those systems and their users.
There are other reasons to be elective. It is fine to have systems
available where everything is present, like gforth.
Small systems however have a place too, where only carefully selected
words are implemented, leaving a system that is a compromise between
being learnable and powerful. A library mechanism helps too.
The separate FP stack has not ever come up as an issue for small
systems that I ever heard of, probably because these systems tend not
to implement the optional Floating-Point wordset.
>
One example of non-compliance is the way DOES> is implemented on many
flash-based systems; in some systems it does not go with CREATE, but
with <BUILDS, and the use of multiple DOES> on the same word is not
supported.
This is not even a choice in flash based systems. The noforth
model strives to use DOES> and has as little restrictions as
possible. In a many programs the DOES> pointer is filled in once.
If that pointer doesn't change it can be stored in flash.
>
- anton
-- 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.