Deutsch English Français Italiano |
<2025Apr15.235921@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: "The Best Programming Language for the End of the World" Date: Tue, 15 Apr 2025 21:59:21 GMT Organization: Institut fuer Computersprachen, Technische Universitaet Wien Lines: 22 Message-ID: <2025Apr15.235921@mips.complang.tuwien.ac.at> References: <87bjtn2hct.fsf@gmail.com> <1b8e7e1b9809c3d36399ceb5438212d9@www.novabbs.com> <nnd$04d507db$41da3ebe@d87d02f63752697b> <d7e4a431359d3a254cbdeb6e7ca8d516e93472ad@i2pn2.org> <nnd$0600983e$3ca65ad8@8f55bfe0cb682bb7> <2025Apr15.171732@mips.complang.tuwien.ac.at> <dd55bec1ebb7aab808238c85e4387516@www.novabbs.com> Injection-Date: Wed, 16 Apr 2025 00:04:40 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3d33ed420757c132f9ff9cfdaad90232"; logging-data="681382"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19fl2K3EH+Pw4TKGNh0rDFZ" Cancel-Lock: sha1:d/rTxnaehcpzvgWFSAX/MXlYoC4= X-newsreader: xrn 10.11 Bytes: 1984 mhx@iae.nl (mhx) writes: >> 1_0 2_0 + . \ output: 30 > >Sorry, I really don't like this. It takes away my >underlying mental model of how things should work. >What happens for "10_ 20_ + ." ? It outputs 30, too. The intended use of _ in Gforth is like this: 100_000_000_000 20_000_000_000 + . \ outputs 120000000000 or with groups of 4 for those environments where that is conventional. What does your underlying mental model say how things should work? - 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/