RSSAmplifier

Mikail Khan · Aug 9, 2021

Writing a JSON Interpreter

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

A few days ago, I wrote Javascripth, a lispy scripting language that uses JSON as its concrete syntax. It’s a single phase treewalk interpreter, so its abstract syntax tree is also JSON, but technically that’s true of any interpreter written in JavaScript. Here’s an example of some Javascripth code to calculate the 10th fibonacci number:

Read on /2021/08/09/json-interpreter.md.html

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.