TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

clojure-ruby

shepmaster / clojure-ruby

An extremely bare-bones Ruby interpreter

4 0 Language: Clojure License: EPL-1.0 Updated: 8mo ago

README

clojure-ruby

A Clojure program to interpret a very narrow subset of Ruby.

Written for the Reddit daily programmer challenge

Usage

lein run path-to-ruby-code.rb

Remember that it's unlikely that any arbitrary Ruby code will work. An
example.rb file is included that should work, but you should try the
Brainfuck interpreter from my other project, ruby-brainfuck.

There should be exceptions thrown for bad input, but they aren't very
easy to read!

Thanks

Many thanks to the instaparse library, which took care
of all the heavy lifting of parsing!

License

Copyright © 2014 Jake Goulding

Distributed under the Eclipse Public License either version 1.0 or (at
your option) any later version.

0 AIs selected
Clear selection
#
Name
Task