jeanparpaillon / ex_cast

C AST to elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cast

Whenever you need to interface with C code, you will need to deal with constants, enumerations, etc.

Cast (for C-AST) allows to build elixir code directly from C AST.

Requirements

Cast uses C AST built with castxml.

Usage

See Cast module documentation and examples in test/support.

Installation

The package can be installed by adding cast to your list of dependencies in mix.exs:

def deps do
  [
    {:cast, "~> 0.1.0"}
  ]
end

About

C AST to elixir

License:Apache License 2.0


Languages

Language:Elixir 94.2%Language:C 2.8%Language:Makefile 1.6%Language:C++ 1.5%