json-lisp icon indicating copy to clipboard operation
json-lisp copied to clipboard

https://merrickchristensen.com/articles/json-lisp/

JSON Lisp

JSON Lisp is a Lisp like language that uses JSON arrays to mimic Lisp S-Expressions. This repository is a reference resource to support my article on the topic.

Check out the JSON Lisp article where we implement this language together.

Examples

Math

["+", 2, 2]; // 4

if

["if", true, ["+", 1, 1] // 2

cond Branching

["cond", [false, 1], [false, 0], [true, 3]]; // 3