Skip to content

RauliL/plorth-parser

Repository files navigation

Plorth parser travis coveralls npm

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"