The syntaxanalyzer calls the scanner when it needs a new symbol.
当语法分析程序需要新符号时,它就调用扫描过程。
2
The lexical analyzer using the LR parsing table unifies the construction method of lexical analyzer and syntaxanalyzer, simplifies the design and construction of compiler.
使用LR分析表的词法分析器,统一了词法分析器和语法分析器的构造方法,简化了编译程序的设计和构造。
3
Then an NN analyzer for syntax analysis is put forward and the analysis for the ratio of performance to cost is given. The result shows that BMP has the superiority to conventional one.