Crude is a Ruby (tiny subset) -> C++ compiler
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
.gitignore
README.txt
TODO.txt
compile_and_run.bat
crude.rb

README.txt

Crude is a Ruby -> C++ compiler. In fact, it could be called a language by itself (some commands have C-specific meanings), except that it's parsed using ruby_parser.

Obviously, it only supports a tiny subset of Ruby - just the basic language features and a couple of iterators. But it works. You can check out the examples.

It's called Crude because crude is exactly what it is. The name is also vaguely reminiscent of names of C and Ruby. (I know, I suck at puns.)