Open axetroy opened 6 years ago
纯粹是练习编写AST
10 + 12 * 3 // output 46 !(10 -5 - 25) // 20 (10 / 2)^2 // 25
https://github.com/axetroy/todo
我用 https://pegjs.org/ 写过。。。感觉是比较入门的递归parser习题
初衷/目标
纯粹是练习编写AST
TODO类型
预计时间
相关链接
https://github.com/axetroy/todo