| Deutsch English Français Italiano |
|
<2024Jul25.140858@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Operator overloading?
Date: Thu, 25 Jul 2024 12:08:58 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 32
Message-ID: <2024Jul25.140858@mips.complang.tuwien.ac.at>
References: <a1aab44ee3b1b56c2f54f2606e98d040@www.novabbs.com> <pzvvwo76lx5kh.fsf@barkhauseninstitut.org> <698bd09c6db27738ab6a1c3222aba1e1@www.novabbs.com>
Injection-Date: Thu, 25 Jul 2024 14:16:35 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="727fe2cbfbc5aa2330e92c1788433fc3";
logging-data="2378429"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19v9TiZ4g1TrzXrVW8u2a/q"
Cancel-Lock: sha1:Azld5Y/DugMXapHByvMQH31spAo=
X-newsreader: xrn 10.11
Bytes: 2167
minforth@gmx.net (minforth) writes:
>Thanks. But it seems this is only the old 16-bit DOS version.
Looking at the Vierte Dimension 2/2024, which arrived this week, I
find another article about the new, 32-bit strongForth, and also the
link
https://www.stephan-becher.de/strongforth3/
>I have been looking for the ANS-compatible layer file
>mentioned in the discussion.
>
>IMHO and without belittling strongforth's merits, I think
>that it went too far and proposed another Forth dialect.
Whether it's too far or not is up to the recipient to decide. But
yes, if you have a single and a double on the stack, say "1 2.", then
in standard Forth you have to use ROT to switch them around, while in
StrongForth you use SWAP.
>I am thinking on a much smaller scale i.e. unification of
>operators for xVALUEs and xLOCALs. ANS Forth already has
>overloaded TO but stops there.
+TO is a common extension.
- anton
--
M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.html
comp.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