[CM] regds : s7 scheme -> embedding scheme
billbose at gmail.com
Sat Nov 22 12:36:42 PST 2014
Yep. This is all I am looking for.
Thanks a mucho.
On Sat, Nov 22, 2014 at 3:08 PM, Kjetil Matheussen <k.s.matheussen at gmail.com
> I don't know if this is what you're asking about. but this is the
> script used to convert scheme code into "#include"-able
> c-code for the k_guile pd external:
> The output is used like this:
> char *scheme_code = #include "scheme_code_scm.txt"
> On Sat, Nov 22, 2014 at 8:40 PM, JV <billbose at gmail.com> wrote:
>> How do you embed a 'large' scheme program with s7 .
>> Do you run any macros before you compile the c code to do the escapes for
>> the scheme text? (see below)
>> I will appreciate if i can get access to those macros.
>> int main(int argc, char **argv)
>> char *scheme_program = "(define (hello src)"
>> "(display src))"
>> "(hello \"joe\n\")";
>> s7_scheme *s7;
>> s7 = s7_init();
>> s7_eval_c_string(s7, scheme_program);
>> Cmdist mailing list
>> Cmdist at ccrma.stanford.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Cmdist