资源列表
[编译器/词法分析] compilar
说明:实现编译器的词法分析,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续进行)-Achieve compiler lexical analysis, from the input source program to identify each word has an independent significance, that is the basi<林彩霞> 在 2025-06-16 上传 | 大小:4kb | 下载:0
[编译器/词法分析] ll(1)YUFAPANDUAN
说明:学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符<liangye> 在 2025-06-16 上传 | 大小:4kb | 下载:0
[编译器/词法分析] 13898405YFFXQ
说明:超好用的语法语义分析器,希望对诸位有用,简单实用!-The syntax of the semantic analyzer超好用hope you useful, simple and practical!<王聪> 在 2025-06-16 上传 | 大小:4kb | 下载:0
[编译器/词法分析] cifafenxi
说明:指针、数组、字符串编程实例 ——词法分析程序-Pointer, array, string programming examples- lexical analysis program<liangsongxi> 在 2025-06-16 上传 | 大小:4kb | 下载:0
[编译器/词法分析] C++
说明:词法分析是编译程序的第一个处理阶段,可以通过两种途径来构造词法分析程序。其一是根据对语言中各类单词的某种描述或定义(如BNF),用手工的方式构造词法分析程序。例如,可根据文法或状态转换图构造相应的状态矩阵,该状态矩阵同控制程序便组成了编译程序的词法分析程序;-Lexical analysis is a compiler of the first processing stage, can be two ways to construct the lexical analysis process.<litiehui> 在 2025-06-16 上传 | 大小:4kb | 下载:0
[编译器/词法分析] pl_0_word
说明:PL/0 语言的编译程序的一个部件,词法分析器。读入由PL/0语言编写的源代码,识别其中的关键字、标志符、数字,转换成程序可识别的中间符号并输出,包含词法错误检测-PL/0 compiler language of a component, lexical analyzer. Read entry from the PL/0 language source code, to identify one of the keywords, identifier, number, convert the<吴潇> 在 2025-06-16 上传 | 大小:4kb | 下载:0