Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ika
.gitignore
LICENSE.txt
README.md
ika.py
pypeg.py
test.py

README.md

ika

Yet another LISP Interpreter.

Progress

DONE

  • Fake compiler.
  • Lambda function and Function apply.
  • begin, set!
  • Closure and Lexical scope.
  • call/cc and Tail recursion optimization.

TODO

  • macro
  • if, car, cdr, cons, pair?, atom?, ...

Example

(define a (lambda () (a)))
(a)
(define f (lambda (return) (return 2) 3))
(f (lambda (x) x)) ; => 3
(call/cc f) ; => 2