Hacker News new | past | comments | ask | show | jobs | submit login

Has anyone ever bootstrapped first to a Forth and then to a Lisp?



Most people skip straight from the Forth to Fortran[0][1] or Prolog[2].

[0] 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)


Must. 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) but it's sure not the only way.


I've had a lot of fun writing a simple FORTH-like recently:

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.


I 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.


I'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.


It's my little side project at the moment.


If you've got a link, would love to read more!


I'm interested in a link too :)




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: