This is an example of how to write an LLVM compiler in Ruby. We're using Rattler as a parser.
First install the prerequisites. On a Mac, just use Homebrew:
brew bundle
On other OSes, take a look at the Brewfile
to figure out what needs to be installed.
Once the prerequisites are installed, install the gems:
bundle
Once that has finished, you can run the tests:
rake
And you can compile and run programs:
bin/brilliant example.bril
Copyright (c) 2014 Craig Buchek Copyright (c) 2014 BoochTek, LLC
This software is licensed under the terms of the MIT License. See LICENSE.txt for details.