freenode/#lisp - IRC Chatlog
Search
10:08:44
no-defun-allowed
Yeah, I have modified my code to not use different effective slot definition classes, as it would just be a weird way of representing a predicate here.
11:56:07
scymtym
contrapunctus: when tying a parser to a particular result representation, there is often tension between the requirements of further processing steps (often benefit from proper syntax tree with classes and all) on the one hand and simplicity of development, debugging and testing which list-based results provide on the other hand. after a few years, i came up with https://github.com/scymtym/architecture.builder-protocol/ (a variation of
17:21:46
contrapunctus
scymtym: that's true...but in this case, I really don't know what's going on or what's the right way to make a parser emit CommonDoc IR. I guessed there might be something like a "plist-to-commondoc" procedure, but didn't find anything like that either.
17:22:36
contrapunctus
Which leaves the 'use constructors' path, and the unresolved mystery of why Scriba emits those plists.
19:53:08
AeroNotix
I'm struggling to find docs on how to use .a files with cffi. Can someone point me to the right place, please?
19:58:31
mseddon
AeroNotix: Letting people know which operating system you are running under will help here.
21:52:11
phoe
AeroNotix: I don't know if you can use these; CFFI is capable of linking against shared libraries only, not static ones
21:52:22
phoe
so stuff like https://stackoverflow.com/questions/655163/convert-a-static-library-to-a-shared-library would be the proper thingâ„¢ to do
21:53:31
AeroNotix
Well, I was kinda hoping you could link in the static library through some tool which would wrap it all, very hand-wavey but wondered if possible
21:53:51
AeroNotix
sounds like not, so I will work on getting a dynamic library from this static one instead then
21:54:29
AeroNotix
well yeah but then I'd have to write a bunch of stuff,.. I was kinda hoping there'd be a tool that existed already which handled this for CL
21:56:19
phoe
https://stackoverflow.com/questions/2649735/how-to-link-static-library-into-dynamic-library-in-gcc
21:56:56
AeroNotix
phoe: not sure if you've actually ran those steps and are just googling :) Not to be rude but I have been looking around since I asked as well :)
21:57:38
AeroNotix
The library is a bit wonky, there's quite a few libraries it depends on linking with too, it's not just a quick gcc invocation away. Which is why I kept asking about potential other avenues
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