Skip to content

Instantly share code, notes, and snippets.

@dastels
Created June 21, 2014 18:21
rubylisp extracted into a freestanding gem
>: irb
2.0.0-p247 :001 > require 'rubylisp'
=> true
2.0.0-p247 :002 > Lisp::Initializer.register_builtins
=> ...
2.0.0-p247 :003 > Lisp::Parser.new.parse('(+ 1 2)').evaluate(Lisp::EnvironmentFrame.global).to_s
=> "3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment