3 ms·
Has anyone ever bootstrapped first to a Forth and then to a Lisp?
by wwweston 6y ago
Has anyone ever bootstrapped first to a Forth and then to a Lisp?
- RodgerTheGreat 6y agoMost people skip straight from the Forth to Fortran[0][1] or Prolog[2]. [0] http://galileo.phys.virginia.edu/classes/551.jvn.fall01/ftran111.f http://galileo.phys.virginia.edu/classes/551.jvn.fall01/ftra... [1] "Scientific Forth" (Julian V. Noble, 1992) [2] "Designing and Programming Personal Expert Systems" (Carl Townsend & Dennis Feucht, TAB Books, 1986)
- FullyFunctional 6y agoMust. Resist. Rat-hole. I have mused about a related question since I got my first computer eons ago. It had only a machine code monitor (yes, a though start to learning what a computer was). It does seem some kind of Forth might have been the good first step on the path to high-level languages (like https://github.com/uho/preForth https://github.com/uho/preForth) but it's sure not the only way.
- stevekemp 6y agoI've had a lot of fun writing a simple FORTH-like recently: https://github.com/skx/foth/ https://github.com/skx/foth/ Inspired by a previous hackernews comment-thread, I don't use a return-stack. So while I do have support for `if` it is implemented in a hardwired fashion. I'd love to spend the time to do it properly, but I suspect rabbit-hole wouldn't even begin to describe the amount of time I'd sink into it.
- FullyFunctional 6y agoI did sink into it for a bit, playing with a matrix of 9 different schemes. However instead of Forth I’d implement Leroy’s ZINC model and implement a simple RPN version of the lambda calculus.
- mmphosis 6y agoIt's my little side project at the moment.
- wwweston 6y agoIf you've got a link, would love to read more!
- nextaccountic 6y agoI'm interested in a link too :)
- lukego 6y agoI've ported Squeak Smalltalk to run on a Forth firmware substrate (OLPC XO.) That's not bootstrapping but it is a satisfyingly compact high-level OS.