QKumaScript:使用Bison的实验性脚本语言 源码
QKumaScript QKumaScript是使用Bison的实验性脚本语言。 快速开始 // make to build $ make // run a test script $ qks tests/a1.qks 您可以在tests文件夹下看到示例脚本。 BNF语法 program ::= statement_list statement_list ::= statement * statement ::= statement_no_semicolon ' ; ' | " if " ' ( ' exp ' ) ' statement_list_paren else_part | ( " while " ' ( ' exp | " for " ' ( ' statement_no_semicolon ' ; ' exp ' ; ' st
下载地址
用户评论