Skip to content

Tool to automatically create bindings around C++ for other languages, based on Clang/LLVM

Notifications You must be signed in to change notification settings

swiftfn/Cpp4Susans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tool to automatically create bindings around C++ for other languages, based on CastXML, which is based on Clang/LLVM

Supported languages:

  • Swift: in progress
  • Other languages: please contribute

Successfully works for C++ libraries:

  • Skia: in progress
  • Other libraries: please try and report

Requirements

Parse C++ headers to CasXML files

Copy config.js.sample to config.js and modify if neccessary, then run:

npm run castxml

On Mac, if you see the annoying warning "cannot be opened because the developer cannot be verified", you can disable it:

sudo spctl --master-disable

Generate bindings for C and other languages

Run:

npm run bindings

About

Tool to automatically create bindings around C++ for other languages, based on Clang/LLVM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages