资源列表
[编译器/词法分析] bianyi
说明:一个简单的词法校验程序,可以将语言中的关键字、常数、标识符识别出来-A simple lexical calibration procedure, language keywords, constants, identifiers identified<nianyuediemeng> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[编译器/词法分析] Morphology-analyzer
说明:一个简单的词法分析器,里面对预处理命令进行了一些简单的处理,注释部分也进行了处理-A simple lexical analyzer, which command the pretreatment processing some simple processing, the comments section<黎明> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[编译器/词法分析] cifa
说明:是将输入的源程序进行划分,给出基本符号(token)的序列,并掠过注解和空格等分隔符号。基本符号是与输入的语言定义的词法所规定的终结符。 本实验要求学生编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续进行 -Is the input source program division, and gives the basic<chenxia> 在 2025-06-14 上传 | 大小:2kb | 下载:0
[编译器/词法分析] GramAnlis
说明:本节主要分析程序的代码结构和代码工程文件的划分。(程序由两个类组成: Scanner类和Parser类,分别为词法分析和语法分析类。-The division of this section of program code structure and code engineering documents. (Program consists of two classes: the Scanner class and Parser class, lexical analysis and parsi<静> 在 2025-06-14 上传 | 大小:2kb | 下载:0