2.0.2 • Published 6 years ago
plorth-parser v2.0.2
Plorth parser
Parser for the Plorth programming language, written in TypeScript.
Usage example
import parse from "plorth-parser";
const program = parse("'Hello, World!' println");
console.log(program[0].type); // "string"
console.log(program[1].type); // "symbol"
console.log(program[1].id); // "println"