[<<][libprim][>>][..]
Sun Jan 10 09:21:14 CET 2010

Poor man's module system

Problem: sequential bootstrapping is tedious for writing a compiler
and runtime library.  What you want is to write all that code in
itself.  For the library this means the code will not necessarily have
"flat" dependencies, i.e. you can have mutual recursion.

However, since this all takes a lot of time, I have to be a bit
pragmatic: I currently have a sequentially bootstrapped scheme system
I'd like to reuse.

This requires `define-macro' to work in the new VM compiler to
incrementally build the 2 toplevel environments.

Next:
- build initial environment with all the primitives
- gather all macros from boot1-expand*.scm, boot2.scm, compile.scm
- compile the files




[Reply][About]
[<<][libprim][>>][..]