All Projects → anibali → coal

anibali / coal

Licence: GPL-3.0 license
A low-level language which may be embedded in Ruby code

Programming Languages

ruby
36898 projects - #4 most used programming language
c
50402 projects - #5 most used programming language

Coal

Coal is an implementation of the C programming language within a Ruby environment. Its goal is to enable Ruby developers to seamlessly integrate sections of low-level code within their software in a simple and portable manner. Coal's C implementation is based on the September 7, 2007 Committee Draft, but is not guaranteed to fully satisfy the specification.

Installing

From source

  1. Install libjit-ffi.
  2. Download the source code for Coal and change into its root directory.
  3. Install Bundler with gem install bundler.
  4. Run bundle install to install dependencies.
  5. Run rake install to build the Coal gem and install it.

Known issues

  • long double types are unsupported due to missing functionality in FFI
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].