The syntax analyzer calls the scanner when it needs a new symbol . 當(dāng)語法分析程序需要新符號時(shí),它就調(diào)用掃描過程。
The syntax analyzer has one recursive procedure for each nonterminal u . 對于每個(gè)非終結(jié)符號U,語法分析程序都有一個(gè)遞歸過程。
The syntax analyzer has one recursive procedure for each nonterminal u 對于每個(gè)非終結(jié)符號u ,語法分析程序都有一個(gè)遞歸過程。
In addition , some programming techniques , such as recursion , are impossible to use - - for example , this rules out protocol handlers being recursive - descent parsers 此外,象遞歸之類的一些編程的技術(shù)不可能使用例如,遞歸消解了協(xié)議處理程序成為循環(huán)下降的語法分析程序的可能。
At the whole compiled system design , takes grammar as the base of program design , referring to hard plc working theoty , syntax analysis program as center to organize the whole compiled process 在編譯程序總體設(shè)計(jì)中,以文法作為程序設(shè)計(jì)的依據(jù),參照硬plc的工作原理并以語法分析程序為中心來組織整個(gè)編譯過程。
The latter is the emphasis of this article . its hard core is the accidence analysis builder grammar _ lexer . mll and the syntax analysis builder grammarjpaser . mly . it transforms the fortran character string in the program , which would be processed automatic differentiation transform , into data stream of diversified syntax units 詞法分析和語法分析部分又分為輸入命令數(shù)據(jù)流以及fortran源程序數(shù)據(jù)流的詞法分析和語法分析,后一部分是本文分析的重點(diǎn),它以詞法分析程序生成器grammarlexer . mll和語法分析程序生成器grammarpaser . mly為核心,將進(jìn)行自動(dòng)微分變換的fortran源代碼字符串變換成各類語法單位的數(shù)據(jù)流。