Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If the human brain were so simple that we could understand it, we would be so simple we couldn't.


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://www.novabbs.com/devel/article-flat.php?id=25509&group=comp.lang.forth#25509

  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: alb...@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://www.novabbs.com/devel/article-flat.php?id=25511&group=comp.lang.forth#25511

  copy link   Newsgroups: comp.lang.forth
Date: Wed, 27 Dec 2023 07:32:56 +0000
Subject: Re: Update on lisp in Forth
From: mhx...@iae.nl (mhx)
Newsgroups: comp.lang.forth
X-Rslight-Site: $2y$10$BqSI9SRbz7XuAVm0s0vMVuQEzgrX7gI4xOjMvqg9u48Fr5BV2WW26
X-Rslight-Posting-User: 463cbf1a76c808942982a163321348c75477c065
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
User-Agent: Rocksolid Light
References: <nnd$315efb09$01b3099e@393240a04931895c>
Organization: novaBBS
Message-ID: <33049faa7fdcd33519bc8c3afd61e85e@news.novabbs.com>
 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


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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor