搜索资源列表
WebSite1
- 一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-A super-classic lexical and syntax analysis program (source code attached). The output from the lexical analysis of the transition to a grammatical analysis
WebSite
- 一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-A super-classic lexical and syntax analysis program (source code attached). The output from the lexical analysis of the transition to a grammatical analysis
cifafenxiheyufafenxichengxu
- 词法分析程序的功能: 输入:所给文法的源程序字符串。 输出:二元组(syn,token或sum)构成的序列。 其中:syn为单词种别码; token为存放的单词自身字符串; sum为整型常数。 例如:对源程序begin x:=9: if x>9 then x:=2*x+1/3 end #的源文件,经过词法分析后输出如下序列: (1,begin)(10,x)(18,:=)(11,9)(26, )(2,if)…… -Lexical analyzer func