Tomorrow it will be 18 years since we released Gforth 0.7.0, so it's
time for a new release. It's also 34 years since we started Gforth in
the summer of 1992, so it's about time for Gforth 1.0. We have
released Gforth 1.0.0 on October 25, and have released 1.0.1 with
mainly portability fixes yesterday.
In particular, gforth-1.0.0 for AMD64 and ARM64 already exists on
Docker, and you can run it with
docker run -it --rm forthy42/gforth gforth
(or use gforth-fast or gforth-itc instead of the last "gforth").
However, currently there is only the tag "latest" for gforth images on >hub.docker.com, so when Bernd Paysan (forthy42) puts the next snapshot
on hub.docker.com, you will get an upgrade to that. I hope he will
add a tag for 1.0 or 1.0.1, and then the command above should look
like
docker run -it --rm forthy42/gforth:1.0 gforth
## 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**
* C interface enhancements, includig callbacks.
- anton
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
## 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?
* 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.
Bernd Paysan has now built docker images with tags 1.0.0 and 1.0.1, so
you can start, e.g., gforth-fast 1.0.1 with
docker run -it --rm forthy42/gforth:1.0.1 gforth-fast
One other aspect of Docker is: by default it does not allow the gforth
engine running in the container to access files outside the container.
I played around a little with the options --volume (-v), --mount, and
--user (-u), but could not get the gforth in the container to write
outside the container.
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
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
How I wished that the same could happen to ciforth ...
<SNIP>
## 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?
<SNIP>
* 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.
- anton
Groetjes Albert
Installed 1.0.0 from source, but I was lazy this time.
.deb install works for the lazy, thanks.
on starting, now reports
:~$ gforth
*terminal*:14432:209: warning: reopen lib failed >/home/colin/.cache/gforth/amd64/libcc-tmp/libgfdisasm2.la:
file not found
file is available in >/usr/lib/x86_64-linux-gnu/gforth/1.0.1/amd64/libcc-named/libgfdisasm2.la
message appears to not cause problems-
$ gforth cross.fs instructionset.fs nucleus.fs
*terminal*:6704:209: warning: reopen lib failed >/home/colin/.cache/gforth/amd64/libcc-tmp/libgfdisasm2.la:
file not found
- all files generated as expected.
Installed 1.0.0 from source, but I was lazy this time.
.deb install works for the lazy, thanks.
on starting, now reports
:~$ gforth
*terminal*:14432:209: warning: reopen lib failed >/home/colin/.cache/gforth/amd64/libcc-tmp/libgfdisasm2.la:
file not found
file is available in >/usr/lib/x86_64-linux-gnu/gforth/1.0.1/amd64/libcc-named/libgfdisasm2.la
We will see what we can do.
anton@mips.complang.tuwien.ac.at (Anton Ertl) writes:
We will see what we can do.
Bernd Paysan has released Gforth 1.0.2, which is intended to reduce
the problems with libgfdisasm2.la. Please try it and report the
results.
- anton
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 76 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 54:23:58 |
| Calls: | 1,265 |
| Calls today: | 1 |
| Files: | 1,362 |
| D/L today: |
3 files (2,684K bytes) |
| Messages: | 285,563 |