Re: Bootstrapping ANSI CL
- From: C Y <smustudent1@xxxxxxxxx>
- Date: Thu, 14 Jun 2007 15:21:52 -0700
On Jun 12, 11:49 am, JK <jk.use...@xxxxxxxxxx> wrote:
+1. Forth is amazingly simple and elegant, although
its elegance lies along a different axis than Lisp's.
Building a working Forth VM by entering opcodes via
front-panel switches seems quite feasible. Getting
from there to an interactive Forth interpreter would
be somewhat more challenging :-)
That's an interesting idea - use Forth to get the maximum
functionality with the minimum work, and build Lisp from that :-).
I'm poking around, and while most of what I see is Forth for various
operating systems I'm seeing a few suggestions to the effect that only
a few dozen instructions in machine code may be needed to start
building up a Forth system:
http://discuss.joelonsoftware.com/default.asp?design.4.357910.27
Does anybody know of a good forth implementation for machine
bootstrapping?
The next step would be implementing a basic Lisp in Forth (enough to
bootstrap ANSI). Does anyone know where either of these papers might
be had?
http://portal.acm.org/citation.cfm?id=59413.59429
http://portal.acm.org/citation.cfm?id=59413.59435
This might also be related (a thesis):
TLISP: A Small Lisp Interpreter Implemented in Forth Suryadevara,
Prasad Thomas Hand
I can't seem to find any references to even a way to order them, much
less find them online.
For more insanity, I wonder if one could design a motherboard that
used something like this http://www.ultratechnology.com/chips.htm to
provide the first Forth bootstrap environment directly in hardware
rather than as an implemention in another machine language.
Or, even beyond that, go straight to the source and have someone make
a tweaked version of the CADR hardware on a chip:
http://www.unlambda.com/cadr/index.html
Now THERE's a project idea - has anyone ever considered attempting to
implement an ANSI common lisp using the MIT CADR emulator as a
starting point? I suppose if you're down to this level, you might be
able to get to design your own hardware anyway, and if the target is
lisp you might as well make your hardware to support that direction.
That might be a way to create a real (or potentially real),
documented, "bootstrap from the metal" computer process that could
actually work, and could even be tested using the emulator (updated to
reflect any circuit modifications found to be necessary.) Then create
a book with all the hardware diagrams and describing how to physically
create the machine, and make that volume one of the manuals of the
system - "From Metal to Machine".
Neat - a project whose coolness is equaled only by its pointless
insanity :-).
.
- Follow-Ups:
- Re: Bootstrapping ANSI CL
- From: jurgen_defurne
- Re: Bootstrapping ANSI CL
- From: josephoswaldgg@xxxxxxxxxxx
- Re: Bootstrapping ANSI CL
- From: JK
- Re: Bootstrapping ANSI CL
- From: Ari Johnson
- Re: Bootstrapping ANSI CL
- References:
- Bootstrapping ANSI CL
- From: C Y
- Re: Bootstrapping ANSI CL
- From: Gene
- Re: Bootstrapping ANSI CL
- From: C Y
- Re: Bootstrapping ANSI CL
- From: Vassil Nikolov
- Re: Bootstrapping ANSI CL
- From: JK
- Bootstrapping ANSI CL
- Prev by Date: A problem statement (and a proposed solution)
- Next by Date: Re: Bootstrapping ANSI CL
- Previous by thread: Re: Bootstrapping ANSI CL
- Next by thread: Re: Bootstrapping ANSI CL
- Index(es):
Relevant Pages
|