🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.forth
Article #212

Re: [ANN] Gforth 1.0.1 released

#212
From: Anton Ertl
Date: Mon, 02 Nov 2026 17:54
90 lines
5232 bytes
albert@spenarnc.xs4all.nl writes:
>In article <2026Nov1.110124@mips.complang.tuwien.ac.at>,
>Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>
>I applaud that a modern version of gforth can be integrated in
>newer linux distribution, such that lazy people are inclined
>to install it.
>
>apt install gforth

This will take some more time, as there are signature issues to sort
out.  And then it will appear in Debian unstable, then testing, and
only when Debian 14 is released, in stable.

>>## Headline features
>>
>>* The text interpreter can recognize more things:
>>  * Additional ways to write literals in source code: scaled notation
>>    for FP numbers (6k5, 23%); strings ("string"), xts (`word),
>>    nts (``word), body addresses (<word>, <word+8>).
>>  * You can specify the vocabulary (or several) of a word, e.g.,
>>    `forth:and` vs. `assembler:and`.
>>  * Nonparsing syntax for dealing with value-flavoured and
>>    defer-flavoured words (`v` and `d` in the following examples): `->v`
>>    for `to v`; `+>v` for `+to v`; `'v` for `addr v`; `@>d` for
>>    `action-of d`; `=>d` for `is d`.
>>  * Contents of environment variables: `${LANG}`
>>  * You can extend the text interpreter with more **recognizers**
>
>Does the gforth team aspire to add these to upcoming standards?

What is proposed for standardization and is at the call-for-vote stage
can be found at

https://forth-standard.org/proposals/recognizer-committee-proposal-2025-09-11?hideDiff#reply-1686

With that you can add the recognizers for scaled notation, strings,
xts, nts, body addresses and voc:word notation (with caveats)
yourself.

For dealing with value-flavoured and defer-flavoured words, one would
need to standardize a lot of carnal knowledge where the systems have
little common ground, so I don't see standardization of the internals
happening.  Maybe at one point the various recognizer syntaxes will be
standardized, but I don't expect that soon, and I will not work in
that direction.

For environment variables, one would need to standardize something
like Gforth's getenv.

The caveat about the voc:word notation is that we have no standardized
way to know that voc is a vocabulary, so if somebody writes +:- or
somesuch, a user-written recognizer will do things the user probably
does not want (while Gforth's scope-recognizer with carnal knowledge
sees that + is not a vocabulary and just does not recognize +:- ).

>>* C interface enhancements, includig callbacks.
>
>Interesting. What are the requirements in Forth speak of callbacks?

?

>It does contribute gui applications in Forth, but then
>a native MS-windows versions is indicated, I guess.

If you want GUI applications, Bernd Paysan provides MINOS2 for that.
If you want to use some GUI framework written in C, you can use that,
and call back from that into Forth code with the callback interface.

As for MS Windows, I expect that you cannot call Windows GUI stuff
from a Linux application running in WSL, at least not in the same
process; maybe with an RPC interface: the Linux process does an RPC
for some Windows call that is received by a Windows process that does
the call to the OS.  But if you want that, write it!

There are no plans to build Gforth for Windows, but if anybody wants
to give it a shot, go ahead.  But take into account that Bernd Paysan
has been there and eventually gave up.  And he is not the guy who
tends to pass such challenges.  When I saw that Apple wanted us to
jump through hoops to do native-code generation for MacOS, I was all
for falling back to threaded code (with a resultant performance hit)
on MacOS.  Bernd took up the challenge and jumped through the hoops,
so now the MacOS users get a fast Gforth despite MacOS.

- 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 2026 CFP: http://www.euroforth.org/ef26/cfp.html
Technical Details
Message-ID: <2026Nov2.185403@mips.complang.tuwien.ac.at>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <2026Nov1.110124@mips.complang.tuwien.ac.at> <nnd$6197cbe3$72193a16@6c5fe836a63e356a>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: [ANN] Gforth 1.0.1 released
Date: Mon, 02 Nov 2026 17:54:03 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 90
Message-ID: <2026Nov2.185403@mips.complang.tuwien.ac.at>
References: <2026Nov1.110124@mips.complang.tuwien.ac.at> <nnd$6197cbe3$72193a16@6c5fe836a63e356a>
Injection-Date: Mon, 02 Nov 2026 18:27:02 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="3246213"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/oiT+IFSaPQSzEFzqoxB2Q"; posting-host="e1a3a7e2decf1e89e183bf3e02cd337a"
Cancel-Lock: sha1:D4xwwCY3msrFrq0TjmV4c9JvyWc= sha256:tcRqTUt4UwUbzEza7MhfKZhSDkp5HY0mA+3/uoByLqo=
	sha1:kRVJKkPl3bwwO4ksfjx9B1akUxs= sha256:mQdl+ewkB1GavpxP8GUeba5DoNx7gx5C4+ckQeqMLk0=
X-newsreader: xrn 10.11