scirpus

2019-09-13

Generate JavaScript AST from Cirru Grammer

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

Notes

Explore

explore/folder contains example of JavaScript AST generated from Babel.

License

MIT

HomePage

https://github.com/Cirru/scirpus

Repository

https://github.com/Cirru/scirpus.git


上一篇:cirru-script
下一篇:gulp-cirru-script
相关教程
关注微信

扫码加入 JavaScript 社区

相关文章
暂无相关文章

首次访问,需要验证
微信扫码,关注即可
(仅需验证一次)

欢迎加入 JavaScript 社区

号内回复关键字:

回到顶部