Lurker News

Comments (131) 24 threads

Show all comments

Showing thread 16 of 24

rackjack2 replies#
Can't you define FORTH (or a subset of it) for some architectures purely in assembly, then use those functions like normal? I remember some file floating around on GitHub that showed how to do that.

Anyway, amazing work as always!

thechao#
Yes; this Lisp is entirely in machine code and smaller than SectorForth.
int_19h#
That's how Forth is normally implemented (and what makes it so handy on a new platform that doesn't have any dev tools yet). Although there's a further difference between implementations that rely on an existing assembler to implement the native bits, and those that roll their own in a way that allows them to cross-compile themselves.

As for the file, I suspect that you're referring to JonesForth, which is a heavily commented implementation of the first variety:
https://github.com/nornagon/jonesforth/blob/master/jonesfort...