Klisp is based on lis.py (see http://norvig.com/lispy.html).
The project is written for educational purposes and is not intended to be used in production environments.
Build and run REPL (requires Java and Gradle in $PATH
)
gradle build && java -jar ./build/libs/klisp.jar
Run a file
java -jar ./build/libs/klisp.jar [file]
Factorial
(begin (define fact
(lambda (n)
(if (< n 2)
1
(* n (fact (- n 1))))))
(fact 4))
Lists and quote
(cdr (quote (rose mary juan)))