An EBNF-style grammar for "smart ASCII".
“智能ASCII”的ebnf样式的语法。
Moreover, EBNF grammars are already familiar to many programmers, even if only in passing.
此外,即使只是顺便学会的,许多程序员也已经相当熟悉EBNF语法了。
This version has fewer comments, but that is mostly because the EBNF grammar is fairly self-documenting.
这个版本的注释较少,但是那主要是因为ebnf语法的自我描述能力很强。
Most Prolog implementations, furthermore, are written in languages other than Python, as are most EBNF parsers.
而且,大多数Prolog实现都不是用Python编写的,这和大多数EBNF解析器一样。
The grammars for complex languages are commonly described using BNF (Backus-Naur Form) notation or its close relative, EBNF (Extended BNF).
复杂语言的语法通常都是使用BNF(巴科斯-诺尔范式,Backus-NaurForm)表示法或者其“近亲”―EBNF(扩展的 BNF)描述的。
Spellings vary slightly, but the general notions of quantification, alternation, and sequencing exist in all EBNF-style language grammars.
拼写稍有不同,但是量化、交替和定序这些一般概念都存在于所有EBNF样式的语言语法中。
Basically, an EBNF grammar gives names to the parts you might find in a document; additionally, larger parts are frequently composed of smaller parts.
基本上,ebnf语法对您可能在文档中找到的部件赋予名称;另外,经常将较小的部件组成较大的部件。
If you discover or invent some slightly new variant of the language, it is a lot easier to play with the EBNF grammar than with those regular expressions.
如果您发现或发明了该语言的某种经过微小更新的变体,将它和ebnf语法一起使用要比和那些正则表达式一起使用简单得多。
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.
先从分析一般数控代码格式入手,然后用扩展巴科斯范式表达从中提取的文法规则,使后续对译码模块的研究建立在编译原理的基础上。
The EBNF sample uses the particular variant of SimpleParse, which is a Python library that transforms these declarations into state tables that can be used by mx.TextTools.
EBNF样本使用专门变体SimpleParse ,这是一个Python库,它将这些声明转换成可以被 mx.TextTools 所使用的状态表。
mx.TextTools is a lower-level state machine, and SimpleParse makes use of a non-Python EBNF syntax to describe grammars (and translates it to fast mx.TextTools operations behind the scenes).
TextTools是一个低层状态系统,SimpleParse利用非Python EBNF语法来描述语法(并在后台将其翻译为快速的 mx.TextTools 操作)。
The disadvantage of Spark compared to a standard EBNF-based tool is that it is more verbose and that it lacks direct occurrence quantifiers (i.e., existential "+", possible "*", limited "?").
Spark与标准的基于 EBNF的工具相比缺点在于,它比较冗长,而且缺少直接的出现计量符(即表示存在的“+”,表示可能性的“*”和表示有限制性的“?”)
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.
采用了扩展的巴科斯范式(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.
采用了扩展的巴科斯范式(EBNF)定义NC程序语法规则,提出了一种基于语言识别工具(ANTLR)的NC代码编译器的设计模型。
应用推荐