Re: [Ecls-list] libffi on gentoo (x86_64)

2010-07-05 Thread Pascal J. Bourguignon
Juan Jose Garcia-Ripoll writes: > On Sun, Jul 4, 2010 at 4:23 AM, Pascal J. Bourguignon > wrote: > > On debian lenny, libffi-dev installs the headers ffi.h and ffi_call.h in: >   /usr/include/i486-linux-gnu/ > ecl/configure searches them in /usr/include/ffi/ffi.h > For now, I'm a

Re: [Ecls-list] Simple Hello word! function

2010-07-05 Thread Pascal J. Bourguignon
Louis Höfler writes: > Von: Juan Jose Garcia-Ripoll [mailto:juanjose.garciarip...@googlemail.com] > Gesendet: Sonntag, 4. Juli 2010 19:33 > An: Pascal J. Bourguignon > Cc: ecls-list@lists.sourceforge.net > Betreff: Re: [Ecls-list] Simple Hello word! function > > The other option, which is not that

Re: [Ecls-list] Embedding/ffi question

2010-07-05 Thread Seth Burleigh
Would immediately starting a thread in the callback and using the passed arguments register the objects and the thread with the garbage collector? -- This SF.net email is sponsored by Sprint What will you do first with EV

Re: [Ecls-list] ECL c function reference

2010-07-05 Thread Juan Jose Garcia-Ripoll
Unfortunately no reference is available, but you can use all functions in the Common Lisp manual (PRINT -> cl_print, READ -> cl_read, etc) plus some convenience constructors (MAKE_FIXNUM, make_simple_base_string, etc) Juanjo On Mon, Jul 5, 2010 at 5:47 PM, Louis Höfler wrote: > Hello everyone.

Re: [Ecls-list] Simple Hello word! function

2010-07-05 Thread Juan Jose Garcia-Ripoll
Lisp executed code does not print things. This is the REPL. To print stuff use PRINT in your code and supply an output stream. I think all your problems stem from an improper redirection of *standard-output*. You are only seeing what comes out in the error output (i.e. debug statement from LOAD), w

Re: [Ecls-list] ECL c function reference

2010-07-05 Thread Seth Burleigh
Not really any reference. you might find the recipe page useful and i really found the xchat plugin example linked from there to be a useful 'reference.' http://ecls.wikispaces.com/Recipes -- This SF.net email is sponso

Re: [Ecls-list] Simple Hello word! function

2010-07-05 Thread Louis Höfler
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 # How do I convert this output ba

Re: [Ecls-list] Simple Hello word! function

2010-07-05 Thread Louis Höfler
Thank you for your help. I used your code and implemented it. cl_object string, stream, object, eof, evObj; string = make_simple_base_string(srccontent); stream = cl_make_string_input_stream(1,string); eof = string; /* Marker for EOF */ do { object = cl_read(3, stream, Cnil, eof); if(o

[Ecls-list] ECL c function reference

2010-07-05 Thread Louis Höfler
Hello everyone. I am looking for a ECL c function reference manual. I searched the source files, the ecl homepage but did not find anything. Can someone give me a url? Or is no reference available at the moment? Thank you, Louis.