On Sun, Jul 4, 2010 at 6:56 PM, Pascal J. Bourguignon <span dir="ltr"><<a href="mailto:pjb@informatimago.com">pjb@informatimago.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
But then you would break reader macros:<br>
"(install-my-macro-char) {do something funny}"<br>
;-)<br></blockquote></div><br>Wow, I did not think about that. The other option, which is not that bad, is to create a REPL for that string.<br><br>cl_object string, stream, object, end;<br><br>string = make_simple_base_string(".....");<br>
stream = cl_make_string_input_stream(1,string);<br>eof = string; /* Marker for EOF */<br>do {<br> object = cl_read(3, stream, Cnil, eof);<br> if (object == eof)<br> break;<br> ...<br> si_eval...(object);<br>} while (1);<br clear="all">
<br><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>