cumlisp
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

CumLISP

A simple LISP dialect for writing Cumcord plugins.

Installation

pnpm --registry https://npm.alyxia.dev i cumlisp

Sample usage

import { VM, run, libBasic } from "cumlisp";

const args = process.argv.splice(2)
if (args.length > 1) {
  throw new Error("Only one invocation is allowed!")
}

(async() => {
  const vm: VM = new VM();
  libBasic.installBasic(vm);
  const res = await run(args[0], vm)
  console.log(res)
})()

Dependencies (0)

    Dev Dependencies (13)

    Package Sidebar

    Install

    npm i cumlisp

    Weekly Downloads

    1

    Version

    1.3.1

    License

    MIT

    Unpacked Size

    101 kB

    Total Files

    20

    Last publish

    Collaborators

    • lexisother