joetjen.net
EN DE
← All libraries
Elixir

logos

A Clojure-flavored Lisp, embeddable in Elixir/BEAM applications, with genuine tail-call optimization.

Intention

BEAM applications sometimes want data, not just compiled code, to describe behavior — a rules engine, a scripting layer, a config DSL more expressive than YAML. Every runtime is an isolated namespace registry, and imports only reach functions the host explicitly allowlists.

Example
(defn fib [n]
  (cond
    (< n 2) n
    true (+ (fib (- n 1)) (fib (- n 2)))))

(fib 10) ;;=> 55
Install
{:logos, "~> 0.2"}
ElixirLispInterpreter