| Deutsch English Français Italiano |
|
<2025Apr20.145300@mips.complang.tuwien.ac.at> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Why dial-a-standard is not a thing in Forth
Date: Sun, 20 Apr 2025 12:53:00 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 27
Message-ID: <2025Apr20.145300@mips.complang.tuwien.ac.at>
References: <87bjtn2hct.fsf@gmail.com> <nnd$0600983e$3ca65ad8@8f55bfe0cb682bb7> <2025Apr15.171732@mips.complang.tuwien.ac.at> <dd55bec1ebb7aab808238c85e4387516@www.novabbs.com> <041d497b574d3140330ec97a2e03690ab2b42b72@i2pn2.org> <nnd$29830c0f$2e51fade@8de92a0923429204> <2025Apr16.232617@mips.complang.tuwien.ac.at> <nnd$60cc02ca$725869db@21cae134d827dee1> <2025Apr18.082817@mips.complang.tuwien.ac.at> <87v7qz5jq1.fsf@nightsong.com> <757e2ced7a6ff4b73d9fa4531d29ff611dc72e10@i2pn2.org>
Injection-Date: Sun, 20 Apr 2025 15:00:34 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="19e8dc87b6cf600dc554f2ac06ff22c7";
logging-data="4015603"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YpH0/BE75HNlGrQgr9pLw"
Cancel-Lock: sha1:a9MiYCwpAw2NC4UchEb6EtIHx7Y=
X-newsreader: xrn 10.11
Bytes: 2186
dxf <dxforth@gmail.com> writes:
>Perhaps it's been updated since as the SwiftForth file I have has:
>
>: DECIMAL ( -- ) $0A BASE ! ;
Interesting: SwiftForth 3.10.4, 3.11.0, and 4.0.0-RC52 contain
: DECIMAL ( -- ) $0A BASE ! ;
while SwiftForth 4.0.0-RC87 and 4.0.0-RC89 contain
: DECIMAL ( -- ) 10 BASE ! ;
Gforth has the worst of both worlds:
: decimal ( -- ) \ core
\G Set @code{base} to &10 (decimal). Don't use @code{decimal}, use
\G @code{base-execute} instead.
a base ! ;
- 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 2023 proceedings: http://www.euroforth.org/ef23/papers/
EuroForth 2024 proceedings: http://www.euroforth.org/ef24/papers/