Slip-Lang:语言的编译器和解释器

时间:2021-05-10 17:37:10
【文件属性】:
文件名称:Slip-Lang:语言的编译器和解释器
文件大小:51KB
文件格式:ZIP
更新时间:2021-05-10 17:37:10
Java #Slip Language的编译器和解释器。 ##语言功能:滑动是相当普通的Lisp品种。 它目前支持基本的数学表达式,包括:(+,-,*,/,>,<,=)。 它还具有一个有效的递归宏系统和一个小的标准库。 ###数学示例 (+ 1 1) -> 2 (+ 1 1 1) -> 3 (- 1 1 1) -> -1 (* 2 3 4) -> 24 (/ 72 6 4) -> 3 (> 3 2 1) -> true (> 3 1 2) -> false ###宏示例 (# (example a b c) (cons a (cons (+ b c) empty))) (example 2 3 4) -> [2, 7] (# (sumall a ...) (+ a ...)) (sumall 2 3 4 5 6) -> 20 (# (list a) (cons
【文件预览】:
Slip-Lang-master
----.gitignore(24B)
----.project(370B)
----test()
--------com()
----.settings()
--------org.eclipse.jdt.core.prefs(587B)
----src()
--------com()
----readme.md(2KB)
----example()
--------cond.ji(91B)
--------global.ji(251B)
--------lists.ji(753B)
--------let_macro.jl(230B)
--------fib.ji(120B)
--------bad-or-untested()
----.classpath(414B)

网友评论