node-sexp

1.0.1 • Public • Published

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

/node-sexp/

    Package Sidebar

    Install

    npm i node-sexp

    Weekly Downloads

    52

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • yorkie