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.
- Install libjit-ffi.
- Download the source code for Coal and change into its root directory.
- Install Bundler with
gem install bundler
. - Run
bundle install
to install dependencies. - Run
rake install
to build the Coal gem and install it.
long double
types are unsupported due to missing functionality in FFI