<div dir="ltr"><div>I don&#39;t know if this is what you&#39;re asking about. but this is the</div><div>script used to convert scheme code into &quot;#include&quot;-able</div><div>c-code for the k_guile pd external:</div><a href="https://github.com/kmatheussen/k_guile/blob/master/gen_c_scheme.py">https://github.com/kmatheussen/k_guile/blob/master/gen_c_scheme.py</a><br><div><br></div><div>The output is used like this:</div><div><table class=""><tbody><tr><td id="LC423" class=""><span class="">char</span> *scheme_code =</td>
      </tr>
      <tr>
        
        <td id="LC424" class="">#<span class="">include</span> <span class=""><span class="">&quot;scheme_code</span>_scm.txt<span class="">&quot;<br><br></span></span></td></tr></tbody></table><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Nov 22, 2014 at 8:40 PM, JV <span dir="ltr">&lt;<a href="mailto:billbose@gmail.com" target="_blank">billbose@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><br></div>How do you embed a &#39;large&#39; scheme program  with s7 .<br></div>Do you run any macros before you compile the c code to do the escapes for the scheme text? (see below)<br></div>I will appreciate if i can get access to those macros.<br><div><div><div><div><br clear="all"><br>int main(int argc, char **argv)<br>{<br>  char *scheme_program = &quot;(define (hello src)&quot;<br>                            &quot;(display src))&quot;<br>                  &quot;(hello \&quot;joe\n\&quot;)&quot;;<br>  s7_scheme *s7;<br>  s7 = s7_init();<br>  s7_eval_c_string(s7, scheme_program);<br>}<span class="HOEnZb"><font color="#888888"><br>-- <br><div>Joe<br></div>
</font></span></div></div></div></div></div>
<br>_______________________________________________<br>
Cmdist mailing list<br>
<a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br>
<a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist" target="_blank">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
<br></blockquote></div><br></div>