Flex和Bison是用来解析文法的一对功能强大的组合。
Flex and Bison are a powerful combination for parsing grammars.
在解析文法想要方便地接受一个命令的多个版本时,国际化会很方便。
Internationalization is easy when the parsing grammar is intended to easily accept multiple versions of a command.
RecDescent的缺点是:由于它使用可扩展文法规则并且实时地进行记载和解析,所以比较慢。
The downside of Parse: : RecDescent is that it is moderately slow because it USES extensible grammar rules and on-the-fly lexing and parsing.
另外,stat - comments . pl脚本使用Lingua:EN:Fathom模块来分析由Parse:RecDescent文法解析出的注释。
In addition, the stat-comments.pl script USES the Lingua: : en: : Fathom module to analyze the comments parsed out by the parse: : RecDescent grammar.
stat-comments.pl脚本(请参阅参考资料中的清单)将 demo_decomment.pl 脚本的文法用于解析 C/C++ 代码以抽取注释。
The stat-comments.pl script (see the listing in Resources) uses the demo_decomment.pl
可以在一个程序中用具有不同文法和用途的多个解析器。
Multiple parsers can be used with different grammars and purposes in a single program.
它围绕着文法创建解析器对象。
显然,正确的文法是解析器完全能够接受XML文档所必需的条件。
Obviously, proper syntax is necessary for parsers to be able to accept XML documents at all.
无论决定如何创建解析器,您都需要理解DB2跟踪文件的语法,并为此语法设计文法。
Regardless of the way you decide to create the parser, you need to understand the syntax of the DB2 trace files and design the grammar for this syntax.
为了实现有效的文法解析,定义了一种生成规则受限的短语结构文法,称为无重叠生成文法。
To implementation of efficient parsing of grammars, a new class of phrase structure grammars called overlap-free grammar(OFG) with heavily restricted rewriting rules is defined.
为了实现有效的文法解析,定义了一种生成规则受限的短语结构文法,称为无重叠生成文法。
To implementation of efficient parsing of grammars, a new class of phrase structure grammars called overlap-free grammar(OFG) with heavily restricted rewriting rules is defined.
应用推荐