It consists of a series of rules that lex translates into the lexical analyzer.
它由一系列规则构成,lex将这些规则翻译为词汇分析器。
An important part of the input process is carried out by the lexical analyzer.
输入过程的一个重要部分由词法分析器来进行。
Their relatively simple preparation of the lexical analyzer, and we need people to see.
自己编写的比较简单的词法分析器,需要的人可以看看。
There is considerable leeway in deciding whether to recognize structures using the lexical analyzer or grammar rules. For example, the rules.
选择词法分析器还是语法分析器,其差别是值得考虑的。比如,规则。
The former cases represent design errors; the latter cases can often be corrected by making the lexical analyzer more powerful, or by rewriting some of the grammar rules.
前者会产生设计错误,后者一般能通过加强词法分析器来修复,或者重写其中一些语法规则。
The lexical analyzer using the LR parsing table unifies the construction method of lexical analyzer and syntax analyzer, simplifies the design and construction of compiler.
使用LR分析表的词法分析器,统一了词法分析器和语法分析器的构造方法,简化了编译程序的设计和构造。
For instance, a simple lexical analyzer might count the words in its input.
例如,一个简单的词汇分析器可能会为输入的单词进行计数。
The script engine has some components, include symbol table, lexical analyzer, parser, semantic checker, intermediate code generator, optimizer, code generator, virtual machine.
一个脚本引擎通常包括的组件有:符号表、词法分析器、语法分析器、语义检查器、中间代码生成器、代码优化器、代码生成器、虚拟机。
Since a lexical analyzer is actually nothing more than a parser optimized to process data into token streams, Spirit treats both parts of the process virtually identically.
由于词法分析器实际上只是优化,加工成令牌流数据分析器多,精神对待这一进程的两个部分几乎相同。
The syntactic analyzer makes lexical analysis and syntactic analysis on the query, and sets up syntactic tree from the structure of the query.
语法分析器完成词法分析和语法分析,建立具有多维语法结构的语法树。
Being a special compile tool, the source program of lex is simple. The compiled lexical analyzer constructed by lex has high efficiency.
作为一种专用的编译工具,LEX的源程序简单,编译后生成的词法分析程序效率高。
The scanner is sometimes called a lexical analyzer.
扫描程序有时又把它称为词法分析程序。
The scanner is sometimes called a lexical analyzer.
扫描程序有时又把它称为词法分析程序。
应用推荐