freenode/#lisp - IRC Chatlog
Search
21:57:58
AeroNotix
But I will continue down the path of getting a shared lib for it, since that's the only one which appears to be available
21:58:21
phoe
in particular I think that some debian package only provided an .a version of some library and not a .so
22:05:38
Bike
as far as i know implementations use dlopen etc under the hood, which isn't going to work with a static library
22:05:55
AeroNotix
yeah that makes sense how it would use a shared library as that's pretty much the only way
22:06:17
AeroNotix
but I was kinda asking/hoping if there was some interesting project which could take a static library, wrap it, and present it as a shared library
22:06:42
AeroNotix
you _can_ convert most stuff with just gcc, but this lib seems to be pretty finicky
22:07:45
Bike
you'd basically have to turn non relocatable code into relocatable code, right? seems uh... difficult
22:11:16
AeroNotix
the whole reason I am using CL for this is (apart from it obviously being better). Is the library I am wrapping uses a tonne of callbacks, most other languages are such a pain when the C lib uses callbacks heavily.
1:38:57
AeroNotix
I am sure at some point I used swig to do cffi bindings, must be before they removed it
1:40:40
AeroNotix
Verrazano looks well complicated for what's needed, maybe just finding crap examples of how to use it
1:43:33
no-defun-allowed
CFFI has a "groveller" which sounds useful, but I haven't had to generate FFI bindings before.
7:19:56
beach
And, in code, if you want a form that evaluates to the symbol NIL, you should write 'nil.
9:05:17
treflip
Hi! Has anyone used cl-earley-parser? I'm having troubles with parsing words that aren't defined in the lexicon.