import { VM, run, libBasic } from "cumlisp" import { readFile } from "fs" import test from "./index.js" const vm = new VM() libBasic.installBasic(vm) test(vm) //is it funny that we're testing the unit testing with the unit testing? // //yes /*console.log(await run(`%( (set x "deez") (assertTrue "Successful assertion to true" (equals 1 1)) (assertTrue "Failed assertion to true" (equals 1 0)) (assertTrue "Assertion with variables and strings" (equals (x) "deez")) )`, vm))*/ readFile("./test.lsp", 'utf8', async (err, data) => { console.log(await run(data, vm)) })