Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Reserve your abuse for your true friends. -- Larry Wall in <199712041852.KAA19364@wall.org>


devel / comp.lang.forth / Update on lisp in Forth

SubjectAuthor
* Update on lisp in Forthnone
`- Re: Update on lisp in Forthmhx

1
Update on lisp in Forth

<nnd$315efb09$01b3099e@393240a04931895c>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Newsgroups: comp.lang.forth
Subject: Update on lisp in Forth
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
From: albert@cherry (none)
Originator: albert@cherry.(none) (albert)
Message-ID: <nnd$315efb09$01b3099e@393240a04931895c>
Organization: KPN B.V.
Date: Tue, 26 Dec 2023 20:13:05 +0100
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!feeder1.feed.usenet.farm!feed.usenet.farm!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe004.abavia.com!abp003.abavia.com!news.kpn.nl!not-for-mail
Lines: 31
Injection-Date: Tue, 26 Dec 2023 20:13:05 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1684
 by: none - Tue, 26 Dec 2023 19:13 UTC

I have updated the documentation and simplified the source at

https://github.com/albertvanderhorst/forthlisp
This is the lisp from Probst, original for gforth only.

The lisp has been tested for pforth swiftforth mpeforth and
gforth.
Using the preambule.frt it also runs on versions of ciforth
(lina wina).

The advanced subdirectory contains a version based on
ciforth objects and an approach that modifies the
Forth parser instead of writing a repl loop in
Forth.
It suffices to make a slight modification to PARSE-NAME
that will recognize other delimiters as well as blank space.
In cooperation with the possibility to define PREFIX
words this allows for a transparent solution for the
parsing.

This version is able to run the coins.scm example,
calculating the possibilities to change 100 dollarcent
in coins.

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 spinning. - the Wise from Antrim -

Re: Update on lisp in Forth

<33049faa7fdcd33519bc8c3afd61e85e@news.novabbs.com>

  copy mid

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

  copy link   Newsgroups: comp.lang.forth
Path: i2pn2.org!.POSTED!not-for-mail
From: mhx@iae.nl (mhx)
Newsgroups: comp.lang.forth
Subject: Re: Update on lisp in Forth
Date: Wed, 27 Dec 2023 07:32:56 +0000
Organization: novaBBS
Message-ID: <33049faa7fdcd33519bc8c3afd61e85e@news.novabbs.com>
References: <nnd$315efb09$01b3099e@393240a04931895c>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
logging-data="1293745"; 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: 463cbf1a76c808942982a163321348c75477c065
X-Rslight-Site: $2y$10$BqSI9SRbz7XuAVm0s0vMVuQEzgrX7gI4xOjMvqg9u48Fr5BV2WW26
 by: mhx - Wed, 27 Dec 2023 07:32 UTC

none wrote:

[..]
> The lisp has been tested for pforth swiftforth mpeforth and
> gforth.

It also runs on iForth64 (no changes).

FORTH> cd C:UsersmarcelDownloadsforthlisp-ISO-simpleforthlisp-ISO-simple
Directory: C:UsersmarcelDownloadsforthlisp-ISO-simpleforthlisp-ISO-simple ok
FORTH> include lisp.fs
Redefining `offset`
Redefining `u`
Redefining `lisp`
Redefining `car`
Redefining `cdr`
Redefining `nameu`
Redefining `namea`
Redefining `xt`
Redefining `lisp`
Redefining `lisp` ok
FORTH> include easy.fs ok
FORTH> inc test.scm 4 120 ok
[1]FORTH> .s
Data: 0 ---
System: ---
Float: --- ok
[1]FORTH> . 0 ok

[..]

-marcel

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor