Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Weekends were made for programming. -- Karl Lehenbauer


devel / comp.lang.forth / Using just FigForth core words

SubjectAuthor
* Using just FigForth core wordssjack
`* Re: Using just FigForth core wordsminforth
 +* Re: Using just FigForth core wordsdxf
 |`- Re: Using just FigForth core wordsminforth
 +* Re: Using just FigForth core wordsPaul Rubin
 |+* Re: Using just FigForth core wordsdxf
 ||`- Re: Using just FigForth core wordsjan Coombs
 |+* Re: Using just FigForth core wordsDavid Schultz
 ||+* Re: Using just FigForth core wordsPaul Rubin
 |||`* Re: Using just FigForth core wordsDavid Schultz
 ||| `* Re: Using just FigForth core wordsPaul Rubin
 |||  +- Re: Using just FigForth core wordsdxf
 |||  `* Re: Using just FigForth core wordsAnton Ertl
 |||   `- Re: Using just FigForth core wordsminforth
 ||`* Re: Using just FigForth core wordsalbert
 || `* Re: Using just FigForth core wordsPaul Rubin
 ||  +- Re: Using just FigForth core wordsdxf
 ||  `* Re: Using just FigForth core wordsalbert
 ||   `- Re: Using just FigForth core wordsminforth
 |+* Re: Using just FigForth core wordsAnton Ertl
 ||`* Re: Using just FigForth core wordsalbert
 || `- Re: Using just FigForth core wordsAnton Ertl
 |`- Re: Using just FigForth core wordsminforth
 `- Re: Using just FigForth core wordsalbert

1
Using just FigForth core words

<uuj29t$3q255$1@dont-email.me>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26597&group=comp.lang.forth#26597

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sjack@dontemail.me (sjack)
Newsgroups: comp.lang.forth
Subject: Using just FigForth core words
Date: Wed, 3 Apr 2024 07:59:59 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 58
Message-ID: <uuj29t$3q255$1@dont-email.me>
Injection-Date: Wed, 03 Apr 2024 07:59:59 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="4c9c61c6dde9b1adf0fe4105aa526678";
logging-data="3999909"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196wd5Tj6wbN0zCDMmoHfnt"
User-Agent: tin/2.6.2-20220130 ("Convalmore") (Linux/6.5.0-26-generic (x86_64))
Cancel-Lock: sha1:/dt/uDWTMOUZ+1e3Jh05b1VtdHk=
 by: sjack - Wed, 3 Apr 2024 07:59 UTC

Put aside all my extensions and explored using FigForth core
words only. Here are three of several things I found interesting:

Fig-Forth 1.0.A
( Example #1, Stash data stack items)

: XX S0 @ SP! ; OK
: S0! S0 ! ; OK
: !S0 TIB @ S0! ; OK
: .S S0 @ BEGIN CELL - SP@ OVER < WHILE DUP ? REPEAT DROP ; OK

( some stack items.............) 1 2 3 4 5 OK
..s 1 2 3 4 5 OK
( stash them...................) sp@ s0! OK
( use the stack................) 666 777 888 OK
..s 666 777 888 OK
( restore stashed items........) xx !s0 OK
..s 1 2 3 4 5 OK

( Example #2, Input counted string _directly_ into given storage area)

: CREATE: <BUILDS DOES> ; OK
: := DP @ SWAP DP ! 1 WORD DP ! ; OK

CREATE: FOO 64 ALLOT ( storage area for counted string FOO) OK
FOO := Hello Chuck! OK
FOO COUNT CR TYPE
Hello Chuck! OK

( Example #3, Easily edit block screen without editor)

lib OK
0 60 (LINE) DROP 1024 BLANKS OK
0 60 (LINE) EXPECT ( FOO BAR ) OK
1 60 (LINE) EXPECT : FOO ." foo " ; OK
2 60 (LINE) EXPECT : BAR ." bar " ; OK
UPDATE FLUSH OK
60 LIST
SCR # 60
0 ( FOO BAR )
1 : FOO ." foo " ;
2 : BAR ." bar " ;
3
4
....
OK

( Note RETURNS entered after EXPECTs)

PS: Having initializing variables can be a nice fit:
CREATE: FCB 0 , HERE 64 ALLOT HERE 1024 ALLOT
CONSTANT FCB.BUF
CONSTANT FCB.NAME

PS2: Alignment after data is not needed when storage is followed
by a definition since Fig word names need not start on a
word boundary (in my build).

Re: Using just FigForth core words

<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26599&group=comp.lang.forth#26599

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Wed, 3 Apr 2024 22:30:54 +0000
Organization: novaBBS
Message-ID: <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
References: <uuj29t$3q255$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="4192359"; mail-complaints-to="usenet@i2pn2.org";
posting-account="t+lO0yBNO1zGxasPvGSZV1BRu71QKx+JE37DnW+83jQ";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Site: $2y$10$giU6zed37ttfvq92LFjJoe0kOXDVozCFLaZ7GieVj9jqE1mlsr2gq
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
 by: minforth - Wed, 3 Apr 2024 22:30 UTC

Nice to hear some new echoes from 'ole figForth'. IIRC my first exposure
to Forth was a fig-forth listing for the 6502 CPU.
Half the listing was printed on red paper to prevent copying.

Last contact I had was flipping through Ting's Guide booklet:
https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf

Opening it again, I enjoyed reading the preface to the 2nd edition:
Fig-Forth refuses to Die. :-)

Re: Using just FigForth core words

<660df517$1@news.ausics.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26600&group=comp.lang.forth#26600

  copy link   Newsgroups: comp.lang.forth
Date: Thu, 4 Apr 2024 11:32:24 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Using just FigForth core words
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
Content-Language: en-GB
From: dxforth@gmail.com (dxf)
In-Reply-To: <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <660df517$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 23
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: dxf - Thu, 4 Apr 2024 00:32 UTC

On 4/04/2024 9:30 am, minforth wrote:
> Nice to hear some new echoes from 'ole figForth'. IIRC my first exposure
> to Forth was a fig-forth listing for the 6502 CPU.
> Half the listing was printed on red paper to prevent copying.

It wasn't Fig's intent that it should be copied?

> Last contact I had was flipping through Ting's Guide booklet:
> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>
> Opening it again, I enjoyed reading the preface to the 2nd edition:
> Fig-Forth refuses to Die.  :-)

"Let's do the [1978] Time Warp again

With a bit of a mind flip
You're into the time slip
And nothing can ever be the same
You're spaced out on sensation
Like you're under sedation"

Unlike 1994 which has been one long 'Thou shalt not'

Re: Using just FigForth core words

<87wmpe2afg.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26601&group=comp.lang.forth#26601

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Wed, 03 Apr 2024 18:17:39 -0700
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <87wmpe2afg.fsf@nightsong.com>
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 04 Apr 2024 01:17:40 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fb66b83d920913d8a6d24a22d297cd2f";
logging-data="276845"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/aczmyIQAd6MCLRFprskq6"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:7hknK/P4/QRPPv8ZyccOZxxI+FY=
sha1:uQGYqTRyFnZBlCO8r2b362iYwHg=
 by: Paul Rubin - Thu, 4 Apr 2024 01:17 UTC

minforth@gmx.net (minforth) writes:
> Last contact I had was flipping through Ting's Guide booklet:
> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf

This looks good and I'll try to read through it. Inside F83 is also
excellent. I looked at a listing of FigForth a while back and found it
incomprehensible, but maybe the pdf above will help. It would be
interesting to run it under simulation and track the stack activity.

Re: Using just FigForth core words

<660e039d$1@news.ausics.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26602&group=comp.lang.forth#26602

  copy link   Newsgroups: comp.lang.forth
Date: Thu, 4 Apr 2024 12:34:22 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Using just FigForth core words
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
Content-Language: en-GB
From: dxforth@gmail.com (dxf)
In-Reply-To: <87wmpe2afg.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <660e039d$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 17
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: dxf - Thu, 4 Apr 2024 01:34 UTC

On 4/04/2024 12:17 pm, Paul Rubin wrote:
> minforth@gmx.net (minforth) writes:
>> Last contact I had was flipping through Ting's Guide booklet:
>> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>
> This looks good and I'll try to read through it. Inside F83 is also
> excellent. I looked at a listing of FigForth a while back and found it
> incomprehensible, but maybe the pdf above will help. It would be
> interesting to run it under simulation and track the stack activity.

Another in-depth description of fig-forth is here:

https://archive.org/details/MitchDerickLindaBakerForthEncyclopediaTheCompleteForthProgrammersManualMountainViewPress1982

Discovered it in the engineering library of the organization where I worked.
It was as if the heavens had opened.

Re: Using just FigForth core words

<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26603&group=comp.lang.forth#26603

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!panix!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!69.80.99.26.MISMATCH!Xl.tags.giganews.com!local-2.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 04 Apr 2024 01:53:42 +0000
Date: Wed, 3 Apr 2024 20:53:42 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Using just FigForth core words
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com>
Content-Language: en-US
From: david.schultz@earthlink.net (David Schultz)
In-Reply-To: <87wmpe2afg.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
Lines: 22
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.203
X-Trace: sv3-fIXPzDTzsiPgrkEBUQxJqmiEExRWokY3OInAu6TEAjixqn2/fTGJ7jitm3ZRoJaOHCidr9Vypj9hTV1!fVdorNYcoHLRj3kRAvIvfelaYOrrkMl9MyWgjK3do6e2jcJXkEUdvPQefrSrQ9XIHSzXeaZl6tbg!6Rl+wpGA6leIyE5huiUuKesT+NQZDJjQcxh5LcvL9OI=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: David Schultz - Thu, 4 Apr 2024 01:53 UTC

On 4/3/24 8:17 PM, Paul Rubin wrote:
> minforth@gmx.net (minforth) writes:
>> Last contact I had was flipping through Ting's Guide booklet:
>> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>
> This looks good and I'll try to read through it. Inside F83 is also
> excellent. I looked at a listing of FigForth a while back and found it
> incomprehensible, but maybe the pdf above will help. It would be
> interesting to run it under simulation and track the stack activity.

There are two ways to look at the Fig-Forth source. The first is in the
partially predigested assembly source for a particular processor. As
easy to follow as an eForth listing. :-)

The second is the high level source suitable for a meta-compiler.
Published in one of the fig documents. The Installation Manual I think.

--
http://davesrocketworks.com
David Schultz

Re: Using just FigForth core words

<c8281aa3d40360a3834ea91791559bbe@www.novabbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26604&group=comp.lang.forth#26604

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 4 Apr 2024 07:33:31 +0000
Organization: novaBBS
Message-ID: <c8281aa3d40360a3834ea91791559bbe@www.novabbs.com>
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <660df517$1@news.ausics.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="35484"; mail-complaints-to="usenet@i2pn2.org";
posting-account="t+lO0yBNO1zGxasPvGSZV1BRu71QKx+JE37DnW+83jQ";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$AvQiZqUliyS3c9R5THVhTur1ufkBLM7km8rw/CrMW1v/Ul4j25d5y
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
 by: minforth - Thu, 4 Apr 2024 07:33 UTC

dxf wrote:

> On 4/04/2024 9:30 am, minforth wrote:
>> Nice to hear some new echoes from 'ole figForth'. IIRC my first exposure
>> to Forth was a fig-forth listing for the 6502 CPU.
>> Half the listing was printed on red paper to prevent copying.

> It wasn't Fig's intent that it should be copied?

Even back then there were people who made money from publicly available documents. ;-)

To be fair, the web hadn't been invented yet, so you had to buy printed versions

Re: Using just FigForth core words

<nnd$141141a0$484aac59@7a2056a89198cee9>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26606&group=comp.lang.forth#26606

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
From: albert@spenarnc.xs4all.nl
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$141141a0$484aac59@7a2056a89198cee9>
Organization: KPN B.V.
Date: Thu, 04 Apr 2024 10:03:14 +0200
Path: i2pn2.org!i2pn.org!news.neodome.net!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer02.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 24
Injection-Date: Thu, 04 Apr 2024 10:03:14 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1814
 by: albert@spenarnc.xs4all.nl - Thu, 4 Apr 2024 08:03 UTC

In article <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>,
minforth <minforth@gmx.net> wrote:
>Nice to hear some new echoes from 'ole figForth'. IIRC my first exposure
>to Forth was a fig-forth listing for the 6502 CPU.
>Half the listing was printed on red paper to prevent copying.

I have the original Apple 6502 bought from FIG in the 80's.
Only the cover page was colored so that you can keep them apart.
My 8080 copy was yellow and ass eared.
The public domain message is printed on the cover page and the
first page of the document.

>
>Last contact I had was flipping through Ting's Guide booklet:
>https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>
>Opening it again, I enjoyed reading the preface to the 2nd edition:
>Fig-Forth refuses to Die. :-)
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -

Re: Using just FigForth core words

<2024Apr4.102631@mips.complang.tuwien.ac.at>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26607&group=comp.lang.forth#26607

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 04 Apr 2024 08:26:31 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 24
Message-ID: <2024Apr4.102631@mips.complang.tuwien.ac.at>
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com>
Injection-Date: Thu, 04 Apr 2024 08:29:15 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="94700be7374b022f71570f4ae41ea5f1";
logging-data="577700"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18C3+nPeLMP4wVTSIFFW8Eb"
Cancel-Lock: sha1:XGzJRxLFiC9o0PwucjIUpTDOzcc=
X-newsreader: xrn 10.11
 by: Anton Ertl - Thu, 4 Apr 2024 08:26 UTC

Paul Rubin <no.email@nospam.invalid> writes:
>minforth@gmx.net (minforth) writes:
>> Last contact I had was flipping through Ting's Guide booklet:
>> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>
>This looks good and I'll try to read through it. Inside F83 is also
>excellent.

One interesting aspect is that Ting organized the two guides quite
differently. Apparently he was not happy with the organization of
System's Guide to fig-Forth.

>I looked at a listing of FigForth a while back and found it
>incomprehensible, but maybe the pdf above will help.

It certainly should, particularly because the guide shows Forth source
code rather than the assembler input that the listings contained.

- 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: https://euro.theforth.net/2023

Re: Using just FigForth core words

<9472f20f94be93f799a163a74b96ffee@www.novabbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26608&group=comp.lang.forth#26608

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 4 Apr 2024 08:57:32 +0000
Organization: novaBBS
Message-ID: <9472f20f94be93f799a163a74b96ffee@www.novabbs.com>
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="42246"; mail-complaints-to="usenet@i2pn2.org";
posting-account="t+lO0yBNO1zGxasPvGSZV1BRu71QKx+JE37DnW+83jQ";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
X-Rslight-Site: $2y$10$DwEZK09y8eNWj1gpZkyMp.7GvMbiqnGw2qfKu48pUd1UdYi36ABS.
 by: minforth - Thu, 4 Apr 2024 08:57 UTC

Paul Rubin wrote:

> minforth@gmx.net (minforth) writes:
>> Last contact I had was flipping through Ting's Guide booklet:
>> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf

> This looks good and I'll try to read through it. Inside F83 is also
> excellent. I looked at a listing of FigForth a while back and found it
> incomprehensible, but maybe the pdf above will help. It would be
> interesting to run it under simulation and track the stack activity.

Beware of the subtle differences to later standards. E.g. with DO-LOOPs:
in figForth, LEAVE only sets the current index to the final value, the
innermost loop is not exited until the next LOOP.

Historical anecdote, but even then, the DO-LOOP construct was rather
impractical.

Re: Using just FigForth core words

<20240404132240.58c8aa52@t539>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26609&group=comp.lang.forth#26609

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: jan4comp.lang.forth@murray-microft.co.uk (jan Coombs)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 4 Apr 2024 13:22:40 +0100
Organization: A noiseless patient Spider
Lines: 10
Message-ID: <20240404132240.58c8aa52@t539>
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<660e039d$1@news.ausics.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 04 Apr 2024 12:21:36 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="95440b3f6bf6719edaa97dcb1061b1ed";
logging-data="645330"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196UNRcAuPjhjAXxW1XNcGOVrv2NRhtKIQ="
Cancel-Lock: sha1:Afp8inntG8ldF1z1+DmoGlJ9OKI=
X-Newsreader: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu)
 by: jan Coombs - Thu, 4 Apr 2024 12:22 UTC

On Thu, 4 Apr 2024 12:34:22 +1100
dxf <dxforth@gmail.com> wrote:

> Another in-depth description of fig-forth is here:
>
> https://archive.org/details/MitchDerickLindaBakerForthEncyclopediaTheCompleteForthProgrammersManualMountainViewPress1982

Larger print to read, and download option here:
https://epdf.tips/forth-encyclopedia-the-complete-forth-programmers-manual.html

Re: Using just FigForth core words

<nnd$781effe6$149f358b@188caa05314af2d8>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26610&group=comp.lang.forth#26610

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com> <2024Apr4.102631@mips.complang.tuwien.ac.at>
From: albert@spenarnc.xs4all.nl
Subject: Re: Using just FigForth core words
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$781effe6$149f358b@188caa05314af2d8>
Organization: KPN B.V.
Date: Thu, 04 Apr 2024 14:31:35 +0200
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feed.abavia.com!abe005.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 38
Injection-Date: Thu, 04 Apr 2024 14:31:35 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: albert@spenarnc.xs4all.nl - Thu, 4 Apr 2024 12:31 UTC

In article <2024Apr4.102631@mips.complang.tuwien.ac.at>,
Anton Ertl <anton@mips.complang.tuwien.ac.at> wrote:
>Paul Rubin <no.email@nospam.invalid> writes:
>>minforth@gmx.net (minforth) writes:
>>> Last contact I had was flipping through Ting's Guide booklet:
>>> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>>
>>This looks good and I'll try to read through it. Inside F83 is also
>>excellent.
>
>One interesting aspect is that Ting organized the two guides quite
>differently. Apparently he was not happy with the organization of
>System's Guide to fig-Forth.
>
>>I looked at a listing of FigForth a while back and found it
>>incomprehensible, but maybe the pdf above will help.
>
>It certainly should, particularly because the guide shows Forth source
>code rather than the assembler input that the listings contained.

The assembler listing is one to one to Forth source, so it is
in first approximation equally worthless. What was the last time
a gforth user looked up the source of DROP ? Was it illuminating?

You need the glossary and the installation guide.
https://home.hccnet.nl/a.w.m.van.der.horst/figforth.html
The fig listings were intended to type in (before modems, let
alone internet) not to be studied.
>
>- anton

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -

Re: Using just FigForth core words

<2024Apr4.180520@mips.complang.tuwien.ac.at>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26613&group=comp.lang.forth#26613

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 04 Apr 2024 16:05:20 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 50
Message-ID: <2024Apr4.180520@mips.complang.tuwien.ac.at>
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com> <2024Apr4.102631@mips.complang.tuwien.ac.at> <nnd$781effe6$149f358b@188caa05314af2d8>
Injection-Date: Thu, 04 Apr 2024 16:26:53 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="94700be7374b022f71570f4ae41ea5f1";
logging-data="809041"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX195hXEeEyVy8M3+HfcaV6B9"
Cancel-Lock: sha1:B5MWYpx4J2zTs4b3UuztK3eFL8I=
X-newsreader: xrn 10.11
 by: Anton Ertl - Thu, 4 Apr 2024 16:05 UTC

albert@spenarnc.xs4all.nl writes:
>The assembler listing is one to one to Forth source

Certainly not. E.g., the Forth source as presented by Ting contains
documentation, the assembler listing does not. E.g., here is the
definition of COUNT in both forms:

First, the source code as presented by Ting:

: COUNT addrl -- addr2 n
DUP 1+ addr2=addrl+l
SWAP Swap addrl over addr2 and
C@ fetch the byte count to the stack.
;

DB 85H ; COUNT
DB 'COUN'
DB 'T'+80H
DW DOES-8
COUNT DW DOCOL
DW DUP
DW ONEP
DW SWAP
DW CAT
DW SEMIS

>What was the last time
>a gforth user looked up the source of DROP ? Was it illuminating?

Good question. DROP is written in Vmgen, not in Forth, so others may
not find it illuminating. For words written in Forth, things may be
different. Try:

locate if
see if
simple-see if
see-code if

>The fig listings were intended to type in (before modems, let
>alone internet) not to be studied.

Exactly. By contrast, System's Guide to fig-Forth is intended to be
studied.

- 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: https://euro.theforth.net/2023

Re: Using just FigForth core words

<87o7ap2fts.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26615&group=comp.lang.forth#26615

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 04 Apr 2024 10:33:19 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87o7ap2fts.fsf@nightsong.com>
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Thu, 04 Apr 2024 17:33:20 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="fb66b83d920913d8a6d24a22d297cd2f";
logging-data="838023"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX182XL177gz+GXjN7kkaK4A5"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:pvM3xitLGXuNRYyMRQheWssoJB4=
sha1:3HabkXSrZcy/elLTBgU4MtX5N0M=
 by: Paul Rubin - Thu, 4 Apr 2024 17:33 UTC

David Schultz <david.schultz@earthlink.net> writes:
> There are two ways to look at the Fig-Forth source. The first is in
> the partially predigested assembly source for a particular
> processor. As easy to follow as an eForth listing. :-)

Not sure if that was ironic, but I found eforth and the fig assembler
listings relatively easy to follow, though it was obvious that the asm
code had been generated by another program and then maybe massaged a
little. It was the Forth source that I found near unreadable.

Re: Using just FigForth core words

<kSudnYl_fsDEpJL7nZ2dnZfqn_idnZ2d@earthlink.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26616&group=comp.lang.forth#26616

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mixmin.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.earthlink.com!news.earthlink.com.POSTED!not-for-mail
NNTP-Posting-Date: Thu, 04 Apr 2024 23:35:52 +0000
Date: Thu, 4 Apr 2024 18:35:52 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
From: david.schultz@earthlink.net (David Schultz)
Subject: Re: Using just FigForth core words
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
<87o7ap2fts.fsf@nightsong.com>
Content-Language: en-US
In-Reply-To: <87o7ap2fts.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Message-ID: <kSudnYl_fsDEpJL7nZ2dnZfqn_idnZ2d@earthlink.com>
Lines: 14
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 108.194.109.203
X-Trace: sv3-ZiyLReRzmhedz7WMkF9P5VFfuhwLPwoS3wHNTX/7NFOWCP1kgHuHoUBQCfeGA6M5iX/d8kzO64UUTs/!iN8OCMRnemdYLCDsDyKWTIOA4v4cYBfsWc5BVsFtkLuBiZL6llLfSt432WZNuISxluanc3HX5Iyk!Ib+wF0fW3m6w3Qf5jFYTlfCXwg6nx+Ky2AUI47tl+zQ=
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
X-Received-Bytes: 1913
 by: David Schultz - Thu, 4 Apr 2024 23:35 UTC

On 4/4/24 12:33 PM, Paul Rubin wrote:

> Not sure if that was ironic, but I found eforth and the fig assembler
> listings relatively easy to follow, though it was obvious that the asm
> code had been generated by another program and then maybe massaged a
> little. It was the Forth source that I found near unreadable.

Considering that it was written in a time before full screen editors and
most likely with an ASR33, give it a break.

--
http://davesrocketworks.com
David Schultz

Re: Using just FigForth core words

<87jzlc3bc1.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26617&group=comp.lang.forth#26617

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Thu, 04 Apr 2024 17:25:02 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87jzlc3bc1.fsf@nightsong.com>
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
<87o7ap2fts.fsf@nightsong.com>
<kSudnYl_fsDEpJL7nZ2dnZfqn_idnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 05 Apr 2024 00:25:02 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0cd50da188300f57c9591f8ff8e9eb24";
logging-data="1022670"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+OeS17zCKCFWs4kQYYA/VF"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:F2seBcZ2mYh8X6/WY7ucWnj9Wck=
sha1:d+lH4CJ/K8vpoNOXFNTtFX6xI8c=
 by: Paul Rubin - Fri, 5 Apr 2024 00:25 UTC

David Schultz <david.schultz@earthlink.net> writes:
> Considering that it was written in a time before full screen editors
> and most likely with an ASR33, give it a break.

I don't see how that would be an issue? Spitbol is pretty readable and
it was originally written in IBM 360 assembly language, and probably
keypunched. It is heavily commented though. FigForth and cmForth were
pretty unreadable to me, I think, partly from lack of code comments, but
also partly because of Forth itself.

Re: Using just FigForth core words

<660f497e$1@news.ausics.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26618&group=comp.lang.forth#26618

  copy link   Newsgroups: comp.lang.forth
Date: Fri, 5 Apr 2024 11:44:48 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Using just FigForth core words
Content-Language: en-GB
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
<87o7ap2fts.fsf@nightsong.com>
<kSudnYl_fsDEpJL7nZ2dnZfqn_idnZ2d@earthlink.com>
<87jzlc3bc1.fsf@nightsong.com>
From: dxforth@gmail.com (dxf)
In-Reply-To: <87jzlc3bc1.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <660f497e$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 17
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: dxf - Fri, 5 Apr 2024 00:44 UTC

On 5/04/2024 11:25 am, Paul Rubin wrote:
> David Schultz <david.schultz@earthlink.net> writes:
>> Considering that it was written in a time before full screen editors
>> and most likely with an ASR33, give it a break.
>
> I don't see how that would be an issue? Spitbol is pretty readable and
> it was originally written in IBM 360 assembly language, and probably
> keypunched. It is heavily commented though. FigForth and cmForth were
> pretty unreadable to me, I think, partly from lack of code comments, but
> also partly because of Forth itself.

Having decided one doesn't need or want forth, there's little incentive
to become fluent in it. I could say C is unreadable - to me. When I'm
developing an algorithm, the pseudo-code is largely forth - that's how
ingrained the latter has become.

Re: Using just FigForth core words

<2024Apr5.091005@mips.complang.tuwien.ac.at>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26620&group=comp.lang.forth#26620

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Fri, 05 Apr 2024 07:10:05 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 36
Message-ID: <2024Apr5.091005@mips.complang.tuwien.ac.at>
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com> <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com> <87o7ap2fts.fsf@nightsong.com> <kSudnYl_fsDEpJL7nZ2dnZfqn_idnZ2d@earthlink.com> <87jzlc3bc1.fsf@nightsong.com>
Injection-Date: Fri, 05 Apr 2024 07:30:54 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="74483eb74527853760645b67c1066e0c";
logging-data="1322594"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19z7B8pPZz3jRkG4mT4VQ68"
Cancel-Lock: sha1:XSErzF9wNc7th2lfUtfKIhl/BGY=
X-newsreader: xrn 10.11
 by: Anton Ertl - Fri, 5 Apr 2024 07:10 UTC

Paul Rubin <no.email@nospam.invalid> writes:
>FigForth and cmForth were
>pretty unreadable to me, I think, partly from lack of code comments, but
>also partly because of Forth itself.

Are you sure you did not read a mutilated version of cmForth that was
stripped of the shadow screens? cmForth has lots of comments in the
shadow screens, and there is a nice version that integrates the
screens and shadow screens into one text file:

<https://github.com/ForthHub/cmFORTH/blob/combined/cmforth.fth>

The uses of magic numbers in the source screens is not so great, though.

"System's Guide to fig-Forth" also contains lots of comments, but more
importantly, Ting presents the code as illustration of the explanatory
text he writes.

However, it does not seem to be the actual source code, as evidenced
by the fact that he distributes [COMPILE] <word> across lines in most
places, and that does not work in source code.

What uncommented fig-Forth source code have you looked at? I found

https://github.com/ForthHub/FIG-Forth/blob/master/fig.fth

which contains comments, and there is also a glossary:

https://github.com/ForthHub/FIG-Forth/blob/master/glossary.txt

- 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: https://euro.theforth.net/2023

Re: Using just FigForth core words

<556a01e8981a84140599fbe4202efba2@www.novabbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26621&group=comp.lang.forth#26621

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Fri, 5 Apr 2024 07:44:47 +0000
Organization: novaBBS
Message-ID: <556a01e8981a84140599fbe4202efba2@www.novabbs.com>
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com> <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com> <87o7ap2fts.fsf@nightsong.com> <kSudnYl_fsDEpJL7nZ2dnZfqn_idnZ2d@earthlink.com> <87jzlc3bc1.fsf@nightsong.com> <2024Apr5.091005@mips.complang.tuwien.ac.at>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="143642"; mail-complaints-to="usenet@i2pn2.org";
posting-account="t+lO0yBNO1zGxasPvGSZV1BRu71QKx+JE37DnW+83jQ";
User-Agent: Rocksolid Light
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
X-Rslight-Site: $2y$10$so0twtQywo9nbSDM0HSdHefY7cO92QgH0bXHBnB.hTQviMAFIGvdW
X-Spam-Checker-Version: SpamAssassin 4.0.0
 by: minforth - Fri, 5 Apr 2024 07:44 UTC

For exploration, lots of info also here:
https://www.forth.org/fig-forth/contents.html

Re: Using just FigForth core words

<nnd$3f8b1a83$1f7a8c62@a96b50f0ced70bf7>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26622&group=comp.lang.forth#26622

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me> <36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com> <87wmpe2afg.fsf@nightsong.com> <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
From: albert@spenarnc.xs4all.nl
Subject: Re: Using just FigForth core words
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$3f8b1a83$1f7a8c62@a96b50f0ced70bf7>
Organization: KPN B.V.
Date: Fri, 05 Apr 2024 10:55:12 +0200
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feed.abavia.com!abe006.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 45
Injection-Date: Fri, 05 Apr 2024 10:55:12 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: albert@spenarnc.xs4all.nl - Fri, 5 Apr 2024 08:55 UTC

In article <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>,
David Schultz <david.schultz@earthlink.net> wrote:
>On 4/3/24 8:17 PM, Paul Rubin wrote:
>> minforth@gmx.net (minforth) writes:
>>> Last contact I had was flipping through Ting's Guide booklet:
>>> https://www.forth.org/OffeteStore/1010_SystemsGuideToFigForth.pdf
>>
>> This looks good and I'll try to read through it. Inside F83 is also
>> excellent. I looked at a listing of FigForth a while back and found it
>> incomprehensible, but maybe the pdf above will help. It would be
>> interesting to run it under simulation and track the stack activity.
>
>There are two ways to look at the Fig-Forth source. The first is in the
>partially predigested assembly source for a particular processor. As
>easy to follow as an eForth listing. :-)
>
>The second is the high level source suitable for a meta-compiler.
>Published in one of the fig documents. The Installation Manual I think.

At this time a meta-compiler was worthless, because you need
access to a Forth compiler in the first place. It is not present
in the Installation manual. A typical situation was that I lent
the fig z80 assembler source print to a collega who had also an
Osborne (CP/M) computer. He typed it in over the weekend.
There was no need to understand it, merely a Z80 assembler.

As far as I remember a metacompiler was present in screens printed in
one of the FIG implementations. There was pressure that
the only way to bring up a Forth system was through
a meta compiler.

Nowadays I guess it is, in order of importance, C-source,
metacompiler, assembler source, other languages.

>David Schultz
>

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -

Re: Using just FigForth core words

<87bk6o2k3r.fsf@nightsong.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26623&group=comp.lang.forth#26623

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no.email@nospam.invalid (Paul Rubin)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Fri, 05 Apr 2024 03:13:12 -0700
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <87bk6o2k3r.fsf@nightsong.com>
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
<nnd$3f8b1a83$1f7a8c62@a96b50f0ced70bf7>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 05 Apr 2024 10:13:12 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="0cd50da188300f57c9591f8ff8e9eb24";
logging-data="1393596"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19pztnWHL0NPqSQfJW9uT2Y"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:M9EJZcDhh8XT5ycgDPtxIpq+AOU=
sha1:trWO9iVdJi0b510DgG/JQdNtq+Q=
 by: Paul Rubin - Fri, 5 Apr 2024 10:13 UTC

albert@spenarnc.xs4all.nl writes:
> Nowadays I guess it is, in order of importance, C-source,
> metacompiler, assembler source, other languages.

These days there are plenty of computers and language implementations
available, so if you're trying to write a Forth, it seems reasonable to
metacompile starting with some existing Forth such as gforth.

This is also fun: https://github.com/nineties/planckforth

Re: Using just FigForth core words

<660fe2e6$1@news.ausics.net>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26624&group=comp.lang.forth#26624

  copy link   Newsgroups: comp.lang.forth
Date: Fri, 5 Apr 2024 22:39:19 +1100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: Using just FigForth core words
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me>
<36e3cd8ce77bf333bfc0ba83d126ae1c@www.novabbs.com>
<87wmpe2afg.fsf@nightsong.com>
<phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com>
<nnd$3f8b1a83$1f7a8c62@a96b50f0ced70bf7> <87bk6o2k3r.fsf@nightsong.com>
Content-Language: en-GB
From: dxforth@gmail.com (dxf)
In-Reply-To: <87bk6o2k3r.fsf@nightsong.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: news.ausics.net
Message-ID: <660fe2e6$1@news.ausics.net>
Organization: Ausics - https://newsgroups.ausics.net
Lines: 11
X-Complaints: abuse@ausics.net
Path: i2pn2.org!i2pn.org!news.bbs.nz!news.ausics.net!not-for-mail
 by: dxf - Fri, 5 Apr 2024 11:39 UTC

On 5/04/2024 9:13 pm, Paul Rubin wrote:
> albert@spenarnc.xs4all.nl writes:
>> Nowadays I guess it is, in order of importance, C-source,
>> metacompiler, assembler source, other languages.
>
> These days there are plenty of computers and language implementations
> available, so if you're trying to write a Forth, it seems reasonable to
> metacompile starting with some existing Forth such as gforth.

I thought of using the F83 metacompiler and it sent me packing.

Re: Using just FigForth core words

<nnd$6c485016$3c41d64a@524d99ee3695262c>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26625&group=comp.lang.forth#26625

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
References: <uuj29t$3q255$1@dont-email.me> <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com> <nnd$3f8b1a83$1f7a8c62@a96b50f0ced70bf7> <87bk6o2k3r.fsf@nightsong.com>
From: albert@spenarnc.xs4all.nl
Subject: Re: Using just FigForth core words
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$6c485016$3c41d64a@524d99ee3695262c>
Organization: KPN B.V.
Date: Fri, 05 Apr 2024 16:22:33 +0200
Path: i2pn2.org!i2pn.org!news.swapon.de!news.mixmin.net!feed.abavia.com!abe005.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 51
Injection-Date: Fri, 05 Apr 2024 16:22:33 +0200
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
 by: albert@spenarnc.xs4all.nl - Fri, 5 Apr 2024 14:22 UTC

In article <87bk6o2k3r.fsf@nightsong.com>,
Paul Rubin <no.email@nospam.invalid> wrote:
>albert@spenarnc.xs4all.nl writes:
>> Nowadays I guess it is, in order of importance, C-source,
>> metacompiler, assembler source, other languages.
>
>These days there are plenty of computers and language implementations
>available, so if you're trying to write a Forth, it seems reasonable to
>metacompile starting with some existing Forth such as gforth.

Not so reasonable as it seems. The differences between metacompilers
is greater than between assemblers. Surprisingly, assemblers are
actually documented, often in great detail.
Of course you use your own metacompiler, virtually useless for
other people.
The noforth msp430 family is generated by the same metacompiler.
There is a separate metacompiler for the riscv noforth, and for the
pico (arm) noforth.
At least we are avoiding assembler code?
No way. Not only are there three assembler languages for msp430,
riscv and arm, you have to invent the language, and then have
to write an assembler for it.

Supposedly these metacompilers are ISO/portable and I'm busy
to run them on ciforth. Porting from WIN32FORTH to gforth
was comparitively easy, by no means effortless.
In ciforth it isn't that easy, because this is a simple Forth that
doesn't contains the proverbial kitchen sinks. You would be surprised
how much conventions are violated by an unconventional Forth.

Then the real kicker. How good are meta compilers documented?
On a scale of one to ten how complicated is a meta-compiler?
In reality I'm at a loss when I encounter a problem in the
meta-compiler, and resort to consulting the authors.
Compare that to debugging an assembler program where tools
are available since the stone age. At least you are debugging
the Forth itself.

>This is also fun: https://github.com/nineties/planckforth
Or this:
https://dacvs.neocities.org/SF/
a forth using a single tool, xxd, conversion to hex code to executables,
hand assembling instructions.

Groetjes Albert
--
Don't praise the day before the evening. One swallow doesn't make spring.
You must not say "hey" before you have crossed the bridge. Don't sell the
hide of the bear until you shot it. Better one bird in the hand than ten in
the air. First gain is a cat purring. - the Wise from Antrim -

Re: Using just FigForth core words

<93b1fbed855fcd738441d0c561014ff1@www.novabbs.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=26626&group=comp.lang.forth#26626

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Using just FigForth core words
Date: Fri, 5 Apr 2024 15:19:37 +0000
Organization: novaBBS
Message-ID: <93b1fbed855fcd738441d0c561014ff1@www.novabbs.com>
References: <uuj29t$3q255$1@dont-email.me> <phadndBg9Oy7lZP7nZ2dnZfqnPSdnZ2d@earthlink.com> <nnd$3f8b1a83$1f7a8c62@a96b50f0ced70bf7> <87bk6o2k3r.fsf@nightsong.com> <nnd$6c485016$3c41d64a@524d99ee3695262c>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="178803"; mail-complaints-to="usenet@i2pn2.org";
posting-account="t+lO0yBNO1zGxasPvGSZV1BRu71QKx+JE37DnW+83jQ";
User-Agent: Rocksolid Light
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
X-Rslight-Site: $2y$10$2hf6pzmk8UEFAHJKHUA/fubHGp0k7FYYhnYWBxptOxGoIHcjFf5sS
 by: minforth - Fri, 5 Apr 2024 15:19 UTC

Everything is rather easy as long as you are within the desktop/PC world.

But the Forth system itself is only the second half part of the story.
For MCUs or embedded devices you have the OEM tool set and probably
I/O drivers, for (some of) which you have to write Forth wrapper words.
IOW there is not much choice.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor