Self-hosting metacompiled Forth, bootstrapping from a few lines of C.
10K+
This is a self-hosted implementation of Forth, which can regenerate itself from Forth source code. The bootstrapping process uses a metacompiler written in Lisp to target a small inner interpreter and a handful of code words written in C. A new metacompiler written in Forth generates an x86 executable using using assembly language code words.
Content type
Image
Digest
Size
205.8 MB
Last updated
almost 10 years ago
docker pull larsbrinkhoff/lbforth