An EBNF-style grammar for "smart ASCII".
“智能ASCII”的ebnf样式的语法。
EBNF-style description of floating point number.
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解析器一样。
After transforms them the EBNF grammars and unambiguous SINS charts, we may write the corresponding procedure according to every chart.
之后把它转换成ebnf文法,再通过一系列变换转化成无二义性的SI - NS图,根据此图就可以写出相应的各个子程序。
we can aggregate subtrees of the "plain" type pairwise. But I would prefer if Spark allowed a more EBNF-style grammar expression like this
我们可以成对地聚集“plain“类型的子树。
Spellings vary slightly, but the general notions of quantification, alternation, and sequencing exist in all EBNF-style language grammars.
拼写稍有不同,但是量化、交替和定序这些一般概念都存在于所有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)描述的。
Still, enough of my readers have recommended DParser for Python that it warrants a look, despite my preference for an isolated EBNF definition.
尽管如此,还是有很多读者推荐说用于PythonDParaser值得关注,虽然我更喜欢单独的EBNF定义。
SimpleParse is a wrapper to the fast mx.TextTools library (also written in c) that cleanly separates an EBNF grammar language from Python code.
SimpleParse是快速的mx .TextTools程序库(也是用c所编写的)的一个包装器,可以将ebnf语法语言从Python代码中完全分离出来。
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语法对您可能在文档中找到的部件赋予名称;另外,经常将较小的部件组成较大的部件。
To parse a string, you must use +alpha_p (this is similar to the EBNF + operator that implies one or more, except that Spirit uses it before and not after).
要解析字符,必须使用 +alpha_p(这类似于EBNF +操作符,表示一个或多个字符,不同的是Spirit在前面而不是后面使用它)。
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 所使用的状态表。
Languages like Prolog, Mercury, SQL, XSLT, EBNF grammars, and indeed configuration files of various formats, all declare that something is the case, or that certain constraints apply.
诸如prolog、Mercury、SQL、XSLT这样的语言、ebnf语法和各种格式的真正配置文件,都声明某事是这种情况,或者应用了某些约束。
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代码编译器的设计模型。
应用推荐