[<<][davinci][>>][..]Wed Jul 22 17:43:06 CEST 2009
Another thing to figure out is how to use tinyscheme's FFI, or find
a way to cross-compile mzscheme.
Ok, tinyscheme is linked in as a static library.
Currently, it doesn't seem to do much.
I disabled USE_SCHEME_STACK so I can at least trace it with the
debugger. Not using call/cc yet.. Hmm.. Nope, it gives up when
s_save is called..
I traced it down and the data gets printed to the output port,
however, this doesn't seem to be connected to stdout? Exactly.
Inspecting the standalone startup I found this:
Next: my primitive doesn't run. Problem in the input.. Apparently
some care should be taken since error reporting seems to be minimal.
Next: list scheme bindings.
use the `oblist' function
Next: creating new datatypes.
How to wrap a C pointer + handle its allocation/deallocation?