Other languages
Computer Science
Meta
The Factor implementation:
Factor is implemented with a bit of C code in the vm
directory, and a lot more Factor code in core
and basis
. The code in core
comprises the boot image, and the boot image is generated from a running Factor instance by a process we call "stage 1 bootstrap":
USE: bootstrap.image "x86.32" make-image
Once a boot image has been created, it can be run with a compiled Factor VM to perform what is known as "stage 2 bootstrap":
./factor -i=boot.x86.32.image
Once stage 2 bootstrap completes, a factor.image
is saved; development can be performed with this image, and a new boot image can be generated from within this image to start the cycle again.
Parts of basis
are loaded during the second stage of the bootstrap process, and the library is compiled with the Optimizing compiler. The remaining libraries in basis
are loaded as needed during development.
For a history of how we got here, see Implementation history.
This revision created on Sun, 11 Jan 2009 09:09:19 by slava