scirpus

Generate JavaScript from Cirru Grammer

npm install scirpus
10 downloads in the last month

Scirpus, JavaScript AST in Cirru grammer

About

Scirpus is going to convert Cirru code to JavaScript IR, and generate code with escodegen. For details, refer to resources below:

Usage

CommonJS:

npm install --save scirpus
scirpus = require 'scirpus'
ast = scirpus.transform [['cirru tree']]
# then generate JS from AST

License

MIT

npm loves you