Re: Syscall interface



Stephen! It's been a while.

I had no idea you had got around to a Linux Forth and I doubt that I will have anything new to contribute to your work but I'll certainly send you a copy under the GPL. I swore off comp.lang.forth years ago as I couldn't hack the ANS-wars any more so I'm a bit out of the loop on current developments but I decided to write a Forth for myself first and anyone else who wants it second.

I'm currently calling mine Maya Forth; it's nearly ANS (I think I have ANS definitions for all the non-ANS words in the core) and it's nearly ready for real-life use.

Handling the C data-structures that have to go into and out of Linux calls is just about done. FSAVE is not done yet, but the compiler can be called up through #! files, so FSAVE isn't quite such a big deal at the moment.

I have threads and signal handling working (I think, I've not put a lot of pressure on either) but otherwise it's not got much in the way of "special features".

It assembles to <25K, with 259 primitives (including things fluff like (if) and other implimentation factors).

It's in NASM; what're you using?

Thomas

On Tue, 25 Apr 2006 10:04:45 +0100, Stephen Pelc <spamtrap@xxxxxxxxxx> wrote:

On Mon, 24 Apr 2006 14:15:47 +0100, "Thomas Worthington"
<spamtrap@xxxxxxxxxx> wrote:

I've written a Forth compiler in assembly using the old Int80 mechanism
and I want to convert to the new system, which I'm told is faster and
cleaner but I can't find any useful info on accessing it via AL.

My notes for VFX Forth for Linux are at
http://www.mpeforth.com/arena/cwgtLinux.txt

Collaborate?

Stephen

.