Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 485 Bytes

File metadata and controls

18 lines (14 loc) · 485 Bytes

lisp-interpreter

usage:

import { LispInterpreter } from "./interpreter"

const lispInterpreter = new LispInterpreter();

const parsed = lispInterpreter.parse("(+ 1 2)");
const evaluated = lispInterpreter.evaluate(parsed);
console.log(evaluated);

running tests:

npm t

Node.js CI