locrian
Locrian is a simple embeddable functional scripting language with a tiny, optional standard library. It includes:
- JSON-like syntax for values (objects, arrays, etc.)
- Lisp-like quoting for first-class functions
- Pure functional behavior
- Extremely simple syntax
A few examples:
// Logic
if(eq(1, 1), 'add(6, 4), 'add(2, 2)) // 10
// Functions through quoting
let(
,
'call(myFn, )
) // 4