scirpus

2019-09-13 admin

scirpus是什么

什么是scirpus,Generate JavaScript AST from Cirru Grammer

scirpus使用教程帮助文档

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

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-75056.html

文章标题:scirpus

回到顶部