Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 906 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 906 Bytes

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"