axetroy / todo

个人的TODO计划, 不要Fork,可以Watch
http://www.axetroy.xyz/#/todo
0 stars 2 forks source link

基于AST写个人类识别的计算器 #78

Open axetroy opened 6 years ago

axetroy commented 6 years ago

初衷/目标

纯粹是练习编写AST

10 + 12 * 3  // output 46

!(10 -5 - 25) // 20

(10 / 2)^2 // 25

TODO类型

预计时间

相关链接

https://github.com/axetroy/todo

alsotang commented 5 years ago

我用 https://pegjs.org/ 写过。。。感觉是比较入门的递归parser习题