复杂语言的语法通常都是使用 BNF(巴科斯-诺尔范式,Backus-Naur Form)表示法或者其“近亲”― EBNF(扩展的 BNF)描述的。
The grammars for complex languages are commonly described using BNF (Backus-Naur Form) notation or its close relative, EBNF (Extended BNF).
采用了扩展的巴科斯范式(EBNF)定义NC程序语法规则,提出了一种基于语言识别工具(ANTLR)的NC代码编译器的设计模型。
A design model of NC code complier based on ANother Tool for Language Recognition (ANTLR) was presented, which adopted the Extended Backus Naur Form (EBNF) to define the NC program syntax rule.
先从分析一般数控代码格式入手,然后用扩展巴科斯范式表达从中提取的文法规则,使后续对译码模块的研究建立在编译原理的基础上。
It begins with analyzing common CNC code format and then expresses its grammar with EBNF, so continuous research of coding module is established on compiler principle.
应用推荐