JSCPP
JSCPP copied to clipboard
解析模版语法
我想用pegjs解析模板语法,比如 vecotr
这个语法你可以参考 https://www.nongnu.org/hcb/#template-declaration ,模仿这里面写的东西去修改 ast.peg。改完了记得重新build对应的peg文件。