Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/raulil/plorth-parser

Parser for Plorth programming language
https://github.com/raulil/plorth-parser

parser plorth typescript-library

Last synced: about 4 hours ago
JSON representation

Parser for Plorth programming language

Awesome Lists containing this project

README

        

# Plorth parser [![travis][travis-image]][travis-url] [![coveralls][coveralls-image]][coveralls-url] [![npm][npm-image]][npm-url]

[travis-image]: https://img.shields.io/travis/RauliL/plorth-parser/master.svg
[travis-url]: https://travis-ci.org/RauliL/plorth-parser
[coveralls-image]: https://coveralls.io/repos/github/RauliL/plorth-parser/badge.svg?branch=master
[coveralls-url]: https://coveralls.io/github/RauliL/plorth-parser
[npm-image]: https://img.shields.io/npm/v/plorth-parser.svg
[npm-url]: https://npmjs.org/package/plorth-parser

Parser for the [Plorth] programming language, written in TypeScript.

[Plorth]: https://github.com/RauliL/plorth

## Usage example

```TypeScript
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"
```