各位帅哥美女好,最近我用 rust 写了一个 lisp(scheme)的解释器,然后支持命令行模式和直接运行模式,为它添加了使用多核和网络的能力,这里有一个命令行模式的展示
--------------------------
welcome rust-lisp v0.1.0
--------------------------
source code:https://github.com/sunxyz/rust-lisp
> + 1 2 3 \
4 5 6
21
> :save
please input the file name:
./sample.lisp
save file success
> call-with-input-file "./sample.lisp" read-string
(
(+ 1 2 3 4 5 6)
)
> :quit
good bye!
我在想要不要做一个云函数的小玩具 ,还是继续添加一些特性 ,如果你是 liunx 平台可以下载进行试玩