GithubHelp home page GithubHelp logo

linecode / djinni-generator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cross-language-cpp/djinni-generator

0.0 1.0 0.0 209 KB

Command-line tool that generates gluecode from a djinni-IDL file

Home Page: https://djinni.xlcpp.dev/djinni-generator/setup/

License: Apache License 2.0

Scala 69.25% C++ 16.20% Java 1.47% Objective-C 2.17% Objective-C++ 2.57% C 1.76% Python 6.58%

djinni-generator's Introduction

Djinni Generator

CI GitHub release (latest by date) GitHub all releases

➡️ Documentation: djinni.xlcpp.dev

Djinni is a tool for generating cross-language type declarations and interface bindings. It's designed to connect C++ with either Java or Objective-C.

Djinni generator parses an interface definition file and generates:

  • C++ implementations of types (enums, records)
  • Java implementations of types
  • Objective-C implementations of types
  • Python implementation of types
  • C++/CLI implementation of types
  • C++ code to convert between C++ and Java over JNI
  • Objective-C++ code to convert between C++ and Objective-C
  • Python and C code to convert between C++ and Python over CFFI
  • C++/CLI code to convert between C++ and C#

Installation

Djinni requires Java to be able to execute!

Linux, macOS

Manually

GitHub release (latest by date)

Install with asdf

asdf plugin add djinni
asdf install djinni latest

Windows

GitHub release (latest by date)

Conan

The generator is available at conan-center for Windows, Linux & macOS.

Add the generator as a build requirement in conanfile.txt:

[build_requires]
djinni-generator/1.1.0

Credits

Thanks goes to these contributors!

The code in this repository is in large portions copied from dropbox/djinni which was created by

  • Kannan Goundan
  • Tony Grue
  • Derek He
  • Steven Kabbes
  • Jacob Potter
  • Iulia Tamas
  • Andrew Twyman

djinni-generator's People

Contributors

a4z avatar freitass avatar joprice avatar jothepro avatar neusoft-technology-solutions avatar rhodes73 avatar

Watchers

 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.