ar90n / subulisp-rs

my practice for lisp implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

subulisp-rs

Build Contributors Issues Codecov MIT

my plain lisp implementation.

Features

REPL

$ cargo run
> (+ 1 2)
3
> (* (+ 1 2) (- 3 5))
-6

Batch

$ cat ./samples/fibo.lisp 
(
(def fibo (n) (if (<= (n) 1.0) 1.0 (+ (fibo (- (n) 1.0)) (fibo (- (n) 2.0)))))
(fibo 10.0)
)
$ cat ./samples/fibo.lisp  | cargo run
(() 89)

License

MIT

About

my practice for lisp implementation

License:MIT License


Languages

Language:Rust 99.7%Language:JavaScript 0.3%