"Sean Charles (emacstheviking)" <
obj...@gmail.com> writes:
>I am currently stuck using ,0.7.3 from a homebrew installation, I have so f=
>ar not been able to build either 0.7.3 or 0.7.9 from sources on my M1 macmi=
>ni as I get errors I don't understand.
Gforth 0.7.9 builds fine on an M1 Mac Mini running Linux. MacOS is a
different story. I have not managed to make it run there. It seems
that it does not work when we mmap a region with RWX permissions, and
I have seen documentation that instructs JIT compiler writers to jump
through some hoops. We have neither jumped through these hoops, nor
succeeded in adding a workaround for the breakage yet (although both
look to be just a matter of spending enough time on it; but for that
MacOS would have to reach the top of our ToDo list).
>Putting that to one side, I am getting confused by the online GForth manual=
> here,
>
>
https://www.gnu.org/software/gforth/
>
>It says the current release is 0.7.3, but when I click the User Manual link=
>, it takes me to one place, and click to
https://www.complang.tuwien.ac.at/=
>forth/gforth/Docs-html/index.html#Top it says it is for version 0.7.0
0.7.3 is just a bugfix release for 0.7.0, so the 0.7.0 documentation
is the same as the 0.7.3 documentation.
Use the 0.7.0 documentation.
>It says it is for version 0.7.9, but I keep finding references to "gforth 1=
>.0" as well, is this another planned release or am I misunderstanding somet=
>hing else?
When 0.7.9 is released, it will be called Gforth 1.0. Every word in
Gforth that's younger than 0.7.[0-3] is marked as gforth-1.0 in the
documentation.
>For example, on the 0.7.9 page:
https://gforth.org/manual/_0024tring-words.=
>html#index-_0024tmp_0028--xt-_002d_002d-addr-u--_0029-gforth_002d1_002e0
>
>`$[] ( u $[]addr =E2=80=93 addr=E2=80=99 ) gforth-1.0 =E2=80=9Cstring-arra=
>y=E2=80=9D`
>
>What does the gforth-1.0 mean ?
It means that $[] is a Gforth-specific word that was added after
0.7.[0-3].
- 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 2022:
https://euro.theforth.net