I have yet to get anything working, but chaitin's interpreter runs standalone in a terminal and has a loop waiting for expressions in his main, but I think it would be reasonable to modify so that s7 does not invoke main.
his interpreter is at www.cs.auckland.ac.nz/~chaitin/lisp.c to be honest, I am rather new to lisp and not a strong c programmer so kind of hacking my through this. Any help will by much appreciated. Best, Mike On 12/4/09 12:54 PM, "Heinrich Taube" <[email protected]> wrote: > does the interpreter preserve memory across evals or is (chaitin a) > like involking a main() each time? > > On Dec 4, 2009, at 1:55 PM, Michael Winter wrote: > >> Yes! That is what I was trying to do last night. Seems kind of >> straight >> forward. Just make a s7 pointer for "(chaitin a)" where a is then >> sent to >> the embedded interpreter. >> >> >> On 12/4/09 10:11 AM, "Bill Schottstaedt" <[email protected]> >> wrote: >> >>>> Gregory Chaitin has a rather pure lisp with a couple added >>>> functionalities. >>> >>> it's available in a C version, isn't it? You could package that >>> code into >>> a foreign function for s7 (or your favorite CL), avoiding sockets and >>> whatnot. An embedded language with an embedded language? >>> >> >> > _______________________________________________ Cmdist mailing list [email protected] http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
