Index | Thread | Search

From:
Sebastien Marie <semarie@kapouay.eu.org>
Subject:
new: devel/c2ffi
To:
ports@openbsd.org
Date:
Sun, 14 Jan 2024 16:55:47 +0100

Download raw body.

Thread
  • Sebastien Marie:

    new: devel/c2ffi

Hi,

I would like to import c2ffi (https://github.com/rpav/c2ffi), which is a
simple program linked against clang libraries, to extracting FFI
definitions from C, C++, and Objective C.

It produces JSON or SEXP, and another tool could use the output to
generate FFI.

- cl-autowrap: Create bindings in Common Lisp from a .h with c2ffi using a simple (c-include "file.h")
- c2ffi-ruby: Uses the JSON from c2ffi to produce a nicely-formatted Ruby file for ruby-ffi.

I intent to use it for cl-autowrap (which depends on c2ffi binary).

Comments or OK to import ?
-- 
Sebastien Marie