Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A homoiconic language based on LISP 1.5/SICP Scheme interpreters. The syntax is JSON.
JavaScript
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
README.md
jsonic.js

README.md

jsonic

A homoiconic language based on LISP 1.5/SICP Scheme interpreters. The syntax is JSON.

Why? To understand Lisp better. To experiment with language design. To possibly use as a compilation target. For fun.

Here's a program that computes the sixth Fibonacci number:

["begin",
    ["define", "fib",
        ["lambda", ["n"],
            ["cond", [["eq", "n", 0], 0],
                     [["eq", "n", 1], 1],
                     ["T", ["+", ["fib", ["-", "n", 1]], ["fib", ["-", "n", 2]]]] ]]],
    ["fib", 6]]
Something went wrong with that request. Please try again.