@lfjs/parser
v0.2.0
Published
LFJS parser
Downloads
3
Readme
LFJS Parser
A parser for Lisp Flavoured JavaScript
Install
$ npm install @lfjs/parser
Usage
parse('(+ 1 2)');
[{
"type": "list",
"value": [
{ "type": "identifier", "value": "_PLUS_" },
{ "type": "integer", "raw": '1', "value": 1 },
{ "type": "integer", "raw": "2", "value": 2 }
]
}]
License
Published by tchak under a permissive MIT License, see LICENSE.md.