Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/raulil/plorth-parser
- Owner: RauliL
- License: bsd-2-clause
- Created: 2017-08-29T16:50:54.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-27T09:41:03.000Z (almost 7 years ago)
- Last Synced: 2024-10-31T00:24:21.061Z (16 days ago)
- Topics: parser, plorth, typescript-library
- Language: TypeScript
- Size: 34.2 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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-parserParser 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"
```