rpav/cl-autowrap
View on GitHub ↗ ★ 239 Python
(c-include "file.h") => complete FFI wrapper
8 mentions on Hacker News by 7 people: 0 stories, 8 comments · first 2017-08-22 · latest 2024-05-08
20082026
-
…links to libclang-cpp and literally outputs JSON with sizes and alignments. (It is then used by https://github.com/rpav/cl-autowrap to autogenerate a Lisp wrapper.) The older CFFI Groveller [1] works by generating C code which is compiled…
comment by orivej · 2024-05-08 · in Pair Your Compilers at the ABI Café -
…the ease of accessing C libraries was one of the things that surprised me in a positive way. Using https://github.com/rpav/cl-autowrap one can simply write (c-include "file.h") and the API defined in "file.h" is accessible from Lisp. I…
comment by Lapel2742 · 2024-02-15 · in Why is Common Lisp not the most popular programming language? -
…The only language ecosystem where I've seen it used is Common Lisp, in the CL-Autowrap library ( https://github.com/rpav/cl-autowrap ). But C2FFI emits plain JSON, so I don't see any reason why you couldn't build e.g. a Python auto-binding…
comment by nerdponx · 2022-11-07 · in C isn't a programming language anymore -
…(Jak and Daxter, Jak II) were written in a lisp called GOAL, Game Oriented Assembly Lisp [2] [0] https://github.com/rpav/cl-autowrap [1] https://github.com/cffi/cffi#cffic2ffi [2] https://en.wikipedia.org/wiki/Game_Oriented_Assembly_Lisp
comment by mikedelago · 2022-11-02 · in Functional programming should be the future of software -
…FFI, then yeah CFFI is the standard. The other comments addressed speed, I also wanted to point out https://github.com/rpav/cl-autowrap which is built on top of CFFI and can help get a wrapper up and running faster. After using autowrap's…
comment by Jach · 2021-10-02 · in Common Lisp -
…additionally, CL makes binding to C libraries really easy via CFFI and things like cl-autowrap ( https://github.com/rpav/cl-autowrap ) so, when there isn't a native lisp library, it's often easy enough to just use a C library in your…
comment by fiddlerwoaroof · 2019-07-06 · in SBCL – Past, Present, Future [pdf] -
…https://www.quicklisp.org/beta/UNOFFICIAL/docs/cffi/doc/Intr... Maybe with the help of cl-autowrap: https://github.com/rpav/cl-autowrap/blob/master/README.md There are others... : http://www.cliki.net/FFI
comment by e12e · 2017-08-22 · in Answers from 2017 Common Lisp experts