Home

Awesome

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

License

This library is free software; you can redistribute it and/or modify it under the terms of the MIT license. See LICENSE for details.