Hacker GitHub

← All repos

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

Mentions per year 8 mentions · busiest year 2022 (3)
20082026
  1. …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é
  2. …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…
  3. …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
  4. …Lisp doesn't support (software with a C library) but it needs to if I want to do it at work. A: https://github.com/rpav/cl-autowrap
    comment by mikedelago · 2022-11-04 · in Why Lisp?
  5. …(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
  6. …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
  7. …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]
  8. …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