Skip to content
/ SDLisp Public

Fork repository. Mini lisp interpreter written in Java.

License

Notifications You must be signed in to change notification settings

d-tsuji/SDLisp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SDLisp

Mini lisp interpreter written in Java. The source repository url is omitted in the README because it seems to be written only in the book.

An explanation can be found in the following books.

https://gihyo.jp/magazine/SD/archive/2017/201709

SDLisp is written in about 500 lines. It is simple and cool.

$ gocloc src
-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Java                            12             72             92            497
-------------------------------------------------------------------------------
TOTAL                           12             72             92            497
-------------------------------------------------------------------------------

Some examples

> (+ 1 2)
3
> (cons 1 '(2 3))
(1 2 3)
> (defun fact (n) (if (< n 1) 1 (* n (fact (- n 1)))))
FACT
> (fact 10)
3628800

LICENSE

These codes are licensed under CC0.

CC0

About

Fork repository. Mini lisp interpreter written in Java.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages