1.0.1 • Published 7 years ago
node-sexp v1.0.1
node-sexp
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