[Ecls-list] Simple Hello word! function

Louis Höfler louis.hoefler at gmx.de
Mon Jul 5 16:20:24 UTC 2010


Thank you.

I implemented this function

 

cl_object mod_ecl_load(char* src) {

cl_object string, stream;

string = make_simple_base_string(src);

stream = cl_make_string_input_stream(1, string);

return cl_load(1, stream);

}

 

But this does only print out

#<string-input stream from "(defun hello-wor...">

 

How do I convert this output back to plain text?

 

Thank you, Louis.

 

Von: Juan Jose Garcia-Ripoll [mailto:juanjose.garciaripoll at googlemail.com] 
Gesendet: Sonntag, 4. Juli 2010 19:36
An: Pascal J. Bourguignon
Cc: ecls-list at lists.sourceforge.net
Betreff: Re: [Ecls-list] Simple Hello word! function

It might need some additional code to silence it.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20100705/a660f2a1/attachment.html>


More information about the ecl-devel mailing list