Rxi/aria: A tiny, embeddable lisp-shaped language implemented in C89
来自: https://github.com/rxi/aria
aria
A tiny , easily embeddable lisp-shaped language implemented in C89.
(do (= fib (fn (n) (if (>= n 2) (+ (fib (- n 1)) (fib (- n 2))) n))) (print (fib 20))) ; prints 6765
Overview
- Supports numbers (floats), symbols, strings, pairs, lambdas, macros
- Stack tracebacks with filename and line numbers on error
- Exception-like error handling
- Simple implementation and garbage collector
- Easy-to-use C API
License
This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. SeeLICENSE for details.
本文由用户 LauriSticht 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!