High Level Forth

timdowns@darkhorsemail.net — 2001-05-24 08:21:58

Hello,

I am interested creating a forth-like language for high level
programming, and implemented in C, similar to the way Lua
(www.lua.org) is implemented. Unlike forth however, this will be for
scripting (not low level systems programming) with in built data
structures such as a list (as well as the stack).

Currently I have not got a lot of code for my idea, just very simple
forth-ish interpreters in C and Python to explore the idea.

The reason I'm posting this is-
1. I'm just wondering if this list is relevant to this topic
2. Is Joy similar to what I'm looking for
3. Whether anyone else is aware of an implementation of what I
outlined. (as well as/besides Joy)

Timothy Downs (Australia)
timdowns@...

Manfred von Thun — 2001-05-29 04:27:53

On Thu, 24 May 2001 timdowns@... wrote:

> Hello,
>
> I am interested creating a forth-like language for high level
> programming, and implemented in C, similar to the way Lua
> (www.lua.org) is implemented.
I had a cursory look at Lua, but I cannot tell whether anything
in Joy will be relevant. Anybody more competent to answer?

> Unlike forth however, this will be for
> scripting (not low level systems programming) with in built data
> structures such as a list (as well as the stack).
If your lists are indeed linked lists, the indeed Joy might be
highly relevant. If your lists are consecutively allocated arrays,
the Forth will be relevant,and there are Forth experts on this
group who can advise better than I.

[stuff deleted]
> The reason I'm posting this is-
> 1. I'm just wondering if this list is relevant to this topic
The charter of this mailing list is for "concatenative languages"
which includes both Forth and Joy. So feel free to contribute
and/or ask questions.

> 2. Is Joy similar to what I'm looking for
From quite a while back I remember somebody suggesting Joy as a
scripting language, but I do not remember any of the details.
Sorry -- you will have to plough through the mailing list
about year ago.

> 3. Whether anyone else is aware of an implementation of what I
> outlined. (as well as/besides Joy)
There is a planned implementation of Joy in Oberon, but I have not
heard from that lately. Also there was some discussion about
Forth/Joy cross-fertilisation, and also another language K, which
is similar to J, a modern version of Iverson's APL.

Feel free to respond to this group.
- Manfred