Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Sex is like air. It's only a big deal if you can't get any.


devel / comp.lang.forth / Re: FOOD Forth Object oriented Dialect

SubjectAuthor
* FOOD Forth Object oriented DialectMarc Petremann
`* Re: FOOD Forth Object oriented DialectAnton Ertl
 `- Re: FOOD Forth Object oriented DialectMarc Petremann

1
FOOD Forth Object oriented Dialect

<f3fd780c-b014-4484-8ce9-53e8a4c8fb0fn@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=16791&group=comp.lang.forth#16791

 copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:6214:5181:: with SMTP id kl1mr82575qvb.26.1644865509283;
Mon, 14 Feb 2022 11:05:09 -0800 (PST)
X-Received: by 2002:a05:622a:1387:: with SMTP id o7mr256144qtk.535.1644865509126;
Mon, 14 Feb 2022 11:05:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Mon, 14 Feb 2022 11:05:08 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=90.37.206.228; posting-account=xbxuywoAAAASFWsQBmiz40gnxDBWDrxx
NNTP-Posting-Host: 90.37.206.228
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f3fd780c-b014-4484-8ce9-53e8a4c8fb0fn@googlegroups.com>
Subject: FOOD Forth Object oriented Dialect
From: mpetrema...@gmail.com (Marc Petremann)
Injection-Date: Mon, 14 Feb 2022 19:05:09 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 5
 by: Marc Petremann - Mon, 14 Feb 2022 19:05 UTC

Hello,
Do you like FOOD?
Forth Object Oriented Dialect
Hello, I am adapting FOOD for ESP32Forth...
Does anyone care?
https://github.com/MPETREMANN11/ESP32forth/blob/main/food/food.txt

Re: FOOD Forth Object oriented Dialect

<2022Feb14.225005@mips.complang.tuwien.ac.at>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=16792&group=comp.lang.forth#16792

 copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: ant...@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: FOOD Forth Object oriented Dialect
Date: Mon, 14 Feb 2022 21:50:05 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 20
Message-ID: <2022Feb14.225005@mips.complang.tuwien.ac.at>
References: <f3fd780c-b014-4484-8ce9-53e8a4c8fb0fn@googlegroups.com> <233bd9d5-423c-4317-bc63-02f5684f41edn@googlegroups.com>
Injection-Info: reader02.eternal-september.org; posting-host="b636dcf9ba8eda7980c48ca0520dd5aa";
logging-data="29349"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+yV92ycEtXPWu6NPsykx1L"
Cancel-Lock: sha1:xUeG/1NHpm9+TgN3DYfQdswO8cI=
X-newsreader: xrn 10.00-beta-3
 by: Anton Ertl - Mon, 14 Feb 2022 21:50 UTC

"minf...@arcor.de" <minforth@arcor.de> writes:
>If you can get hold of a free copy of Dick Pountain's book about
>Object Oriented Forth, you will find it interesting. He also managed
>to do sort of OO through the CREATE DOES> (resp. BUILDS>) scheme.

Maybe he will find it interesting, maybe not. But the title is
misleading. I wrote in 1997:

|Despite its title, Pountain's book does not deal with object-oriented
|Forth (no run-time dispatch). "Modular Forth" might be a better title.

There's a reason why this book has hardly played a role in the OO
discussions of the past three decades.

- 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: http://www.forth200x.org/forth200x.html
EuroForth 2021: https://euro.theforth.net/2021

Re: FOOD Forth Object oriented Dialect

<3bc2bcde-56f3-456b-85b4-cc04b41c52c8n@googlegroups.com>

 copy mid

https://www.novabbs.com/devel/article-flat.php?id=16797&group=comp.lang.forth#16797

 copy link   Newsgroups: comp.lang.forth
X-Received: by 2002:a05:620a:430d:: with SMTP id u13mr1669960qko.286.1644924653915;
Tue, 15 Feb 2022 03:30:53 -0800 (PST)
X-Received: by 2002:a05:6214:1c8f:: with SMTP id ib15mr2095239qvb.2.1644924653755;
Tue, 15 Feb 2022 03:30:53 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.forth
Date: Tue, 15 Feb 2022 03:30:53 -0800 (PST)
In-Reply-To: <9a5843fc-8edc-4112-a0cc-dc1c7315393en@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=90.37.206.228; posting-account=xbxuywoAAAASFWsQBmiz40gnxDBWDrxx
NNTP-Posting-Host: 90.37.206.228
References: <f3fd780c-b014-4484-8ce9-53e8a4c8fb0fn@googlegroups.com>
<233bd9d5-423c-4317-bc63-02f5684f41edn@googlegroups.com> <2022Feb14.225005@mips.complang.tuwien.ac.at>
<9a5843fc-8edc-4112-a0cc-dc1c7315393en@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3bc2bcde-56f3-456b-85b4-cc04b41c52c8n@googlegroups.com>
Subject: Re: FOOD Forth Object oriented Dialect
From: mpetrema...@gmail.com (Marc Petremann)
Injection-Date: Tue, 15 Feb 2022 11:30:53 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 28
 by: Marc Petremann - Tue, 15 Feb 2022 11:30 UTC

Le mardi 15 février 2022 à 10:02:18 UTC+1, minf...@arcor.de a écrit :
> Anton Ertl schrieb am Montag, 14. Februar 2022 um 22:52:30 UTC+1:
> Yes, that's why I wrote "sort of". The question is how much "real" OO
> is probably needed in a in an ESP32 bar without providing overkill.
> Whether mini-oof would be better, only M. Petreman can tell.

Hello,
In 1992 I made industrial automatons in FORTH (16 bits MS-DOS) for Renault, Peugeot, Citroën....
I integrated FOOD into my development. Quite simply because on the network layer, I had to deal with Balogh or serial or PPUM signals... FOOD programming allowed me to have a homogeneous interface.
Many mention oriented programming and give Forth code sources for object programming. But they never apply it.
For my part, not only will I adapt FOOD for ESP32Forth, but I will show the advantages that can be drawn from it.
FOOD was developed in 1989. I allow myself to adapt it to ESP32Forth more than 30 years later:
- to show that FORTH is able to evolve towards a higher level of programming, this with simple resources; FOOD is 2 program pages... 20 lines if you pack well.
- that object-oriented programming is already essential in most other programming languages. There is no reason for FORTH to be an exception.
On the site http://esp32-forth.com I try to show, with simple examples, that FORTH is an alternative to the C language for making powerful and efficient assemblies.
In future montages, I will often include FOOD.
Best regards

1
server_pubkey.txt

rocksolid light 0.9.7
clearnet tor