cirru-writer

0.3.11 • Public • Published

Cirru Writer

Converts Cirru AST (which is in JSON) to formatted Cirru code.

Read cirru/ for demos of that compiled from ast/.

Demo: http://repo.cirru.org/writer/

Usage

npm install --save cirru-writer
  • render
{render} = require 'cirru-writer'
cirru = render [['cirru']]
# render :: JSON -> String 

Development

Run through all tests:

cirru-script test.cirru

Compile code before sending to npm:

# officially gulp is not support CirruScript 
# but by updating node-interpret you may run 
gulp script

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i cirru-writer

Weekly Downloads

4

Version

0.3.11

License

MIT

Last publish

Collaborators

  • jiyinyiyong