Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (23 sloc) 726 Bytes

Scirpus, ES6(subset) AST in Cirru grammar

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

Read examples/.

Goal

Write JavaScript AST in Cirru grammar. Then it can be used as an IR for cross-language compilations.

Also read:

Usage

CommonJS:

npm install --save scirpus
scirpus = require 'scirpus'
ast = scirpus.transform [['cirru tree']]
# generates ES6 AST from Cirru AST

License

MIT