Created
June 21, 2014 18:21
-
-
Save dastels/cb8c29bc484f7561cb54 to your computer and use it in GitHub Desktop.
rubylisp extracted into a freestanding gem
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>: 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