Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Infinisil/nixlisp


https://github.com/Infinisil/nixlisp

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

* Nixlisp

Lisp in Nix!

** Usage

#+BEGIN_SRC nix
with import ./lisp.nix { a = null; }; eval
(defun fib (n)
(defun fib2 (a b n)
(iff (lt n 2) b
(def (next (plus a b))
(fib2 b next (minus n 1))))
(fib2 0 1 n))
(fib 60))
#+END_SRC