Thu Aug 6 18:51:02 CEST 2009
Looks like it's working.
tom@zni:~/libprim/scheme$ wc -l *.[ch]
It has almost nothing though. Only evaluation + supporting prims.
- special forms (if, set!)
The special forms might be enough so reader can maybe be written in
Scheme and compiled to C spec of the syntax tree?
Both special forms need modification to the continuation. Assignment
will need to be done in such a way that GC interrupt isn't possible.
I'm adding a couple of structs to accomodate these different
Once realizing the frame type is only one of different kinds of
continuations, it was quite straigtforward to add 'if', 'set!',
'begin' and 'lambda' with multiple expressions.