文件名称:语义分析器
文件大小:6KB
文件格式:INI
更新时间:2022-05-20 11:41:07
技术开开发
prog -> { decs stms } decs -> dec decs | dec -> type id ; type -> int | bool stms -> stm stms | stm -> id = exp ; | printi(exp) ; | printb(exp) ; exp -> intnum | true | false | id | (exp) | exp + exp | exp - exp | exp * exp | exp / exp | exp && exp | exp || exp