Giter VIP home page Giter VIP logo

cffi's Introduction

Build Status

CFFI, the Common Foreign Function Interface, purports to be a portable foreign function interface for Common Lisp. The CFFI library is composed of a Lisp-implementation-specific backend in the CFFI-SYS package, and a portable frontend in the CFFI package.

The CFFI-SYS backend package defines a low-level interface to the native FFI support in the Lisp implementation. It offers operators for allocating and dereferencing foreign memory, calling foreign functions, and loading shared libraries.

The CFFI frontend provides a declarative interface for defining foreign functions, structures, typedefs, enumerated types, etc. It is implemented in portable ANSI CL making use of the low-level operators exported by CFFI-SYS.

CFFI/C2FFI is an ASDF-integrated mechanism to automatically generate a complete CFFI binding for a C project using the JSON output of c2ffi. c2ffi generates its output by using LLVM/Clang as a library to parse any C project. Until CFFI/C2FFI is properly documented, please see these projects as examples: here, here, here, and here.

Please consult the manual for further details, including installation instructions.

Please visit Launchpad for bug reports and feature suggestions.

cffi's People

Contributors

3b avatar antifuchs avatar asedeno avatar attila-lendvai avatar btomi avatar cbaggers avatar crlf0710 avatar dg1sbg avatar dkochmanski avatar dochang avatar easye avatar fare avatar ferada avatar galdor avatar guicho271828 avatar jhoehle avatar jre avatar luismbo avatar markcox80 avatar orivej avatar pfdietz avatar ralt avatar resttime avatar s11001001 avatar sdilts avatar shinmera avatar sionescu avatar slyrus avatar soemraws avatar stassats avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.