Skip to content

shepmaster/clojure-ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An extremely bare-bones Ruby interpreter

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published