[<<][davinci][>>][..]
Wed Jul 22 17:43:06 CEST 2009
tinyscheme
Another thing to figure out is how to use tinyscheme's[1] 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:
scheme_set_output_port_file(sc, stdout);
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?
[1] http://community.schemewiki.org/?TinyScheme
[2] http://tinyscheme.sourceforge.net/home.html
[3] http://delicious.com/doelie/tinyscheme
[4] http://www.alphageeksinc.com/tinyscheme/doc/tinyscheme.html
[5] http://ccrma.stanford.edu/software/snd/snd/grfsnd.html#sndands7
[Reply][About][<<][davinci][>>][..]