@lfjs/parser

0.2.0 • Public • Published

LFJS Parser

Build Status

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.

Readme

Keywords

Package Sidebar

Install

npm i @lfjs/parser

Homepage

lfjs.io

Weekly Downloads

1

Version

0.2.0

License

MIT

Last publish

Collaborators

  • tchak