yorkie / node-sexp

Creates symboltic-expression builder in JavaScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

node-sexp

NPM version Build Status

The S-expression builder written in pure JavaScript, which lets you write a s-expression builder in JavaScript way like the following way:

const sexp = require('node-sexp');
const func = sexp('func');
const memory = sexp('memory', 1);
const program = sexp('program', [memory, func]);

The above example will produce:

(module 
  (memory 1) (func))

S-expression

The S-expression is for symboltic expression that represents a nested list data.

Installation

$ npm install node-sexp --save

License

MIT

About

Creates symboltic-expression builder in JavaScript.


Languages

Language:JavaScript 100.0%