Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cirru 有些看不懂呀 #2

Open
zanjs opened this issue Nov 4, 2015 · 1 comment
Open

Cirru 有些看不懂呀 #2

zanjs opened this issue Nov 4, 2015 · 1 comment

Comments

@zanjs
Copy link

zanjs commented Nov 4, 2015

老板 Cirru 好高深呀 在哪可以学习 Cirru 的语法糖 呀

@tiye
Copy link
Member

tiye commented Nov 4, 2015

目前文档是这里 http://script.cirru.org/
项目里的 gulp script 可以把 CirruScript 编译到 JavaScript.
实际上只是前缀语法到 JavaScript AST 的转换, 难懂的地方不多.
注意下 :a ":a b" 实际上编译结果是 "a""a b", 这跟 JavaScript 不大一样

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants