s-expression builder for JavaScript
npm install node-sexp[![NPM version][npm-image]][npm-url]
[![Build Status][travis-image]][travis-url]
The [S-expression][] builder written in pure JavaScript, which lets you write a s-expression builder
in JavaScript way like the following way:
``js`
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))
The [S-expression][] is for symboltic expression that represents a nested list data.
`sh`
$ npm install node-sexp --save
MIT
[npm-image]: https://img.shields.io/npm/v/node-sexp.svg?style=flat-square
[npm-url]: https://npmjs.org/package/node-sexp
[travis-image]: https://img.shields.io/travis/yorkie/node-sexp.svg?style=flat-square
[travis-url]: https://travis-ci.org/yorkie/node-sexp
[S-expression`]: https://en.wikipedia.org/wiki/S-expression