Skip to content

iammerrick/json-lisp

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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