Created
June 21, 2014 19:08
-
-
Save dastels/f0db88a0b756298d4c59 to your computer and use it in GitHub Desktop.
And.... there's a repl.
This file contains hidden or 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
>: bin/rubylisp | |
RubyLisp REPL | |
> 4 | |
4 | |
> (+ 2 3) | |
5 | |
> (define (fib x) (if (eq? x 0) 1 (* x (fib (- x 1))))) | |
<function: fib> | |
> (fib 4) | |
24 | |
> (fib 5) | |
120 | |
> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment