Sujet : Re: single-xt approach in the standard
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 23. Sep 2024, 18:02:51
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2024Sep23.190251@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6
User-Agent : xrn 10.11
mhx@iae.nl (mhx) writes:
On Mon, 23 Sep 2024 8:36:10 +0000, albert@spenarnc.xs4all.nl wrote:
>
In article <vcq1e5$25spg$7@dont-email.me>,
Ruvim <ruvim.pinka@gmail.com> wrote:
[..]
1 constant a
1 constant b
' a ' b = .
...
Why? 'a' and 'b' are user defined words, '=' is a standard word,
and 'true' is the expected outcome.
Are you sure?
[~:152648] iforth
FORTH> 1 constant a ok
FORTH> 1 constant b ok
FORTH> ' a ' b = . 0 ok
I actually know of no system that outputs -1.
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/ EuroForth 2024: https://euro.theforth.net