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 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!