资源列表
[编译器/词法分析] cffx_tcking
说明:该词法分析程序用VC++ 6.0编写,以FileOpenDialog打开的*.c或*.cpp文件为语言字集的源程序作为词法分析程序的输入数据,经词法分析程序分析后的结果保存在源文件的同目录的output.txt文件中。在词法分析中,自文件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含<汤超> 在 2008-10-13 上传 | 大小:199.06kb | 下载:0
[编译器/词法分析] bianyiyuanli
说明:WHILE条件语句的翻译程序设计(LL(1)法、输出四元式)。。按照课程设计的要求,写一个能识别while循环语句的文法,通过一定的变换使它符合LL(1)法的要求,然后按照这个文法编写一个程序,该程序能识别输入的语句是否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。<zxwrt> 在 2008-10-13 上传 | 大小:199.41kb | 下载:1
[编译器/词法分析] lua5_1_3_Sources
说明:LUA programming language implementation (source code)<asat232> 在 2025-06-18 上传 | 大小:200kb | 下载:0
[编译器/词法分析] dgxjcha4_1
说明:这是一个用C++编写的简单的一个编译器,采用递归下降法,学习编译原理的同学可以看看。-This is a C++, written in a simple compiler, using recursive descent method, students learn principles of compiler can look at.<lujingjin> 在 2025-06-18 上传 | 大小:200kb | 下载:0
[编译器/词法分析] ParserByhandd
说明:编译原理 设计一个编译器,实现编译的功能-Compiler theory to design a compiler, compiling the function to achieve<木洛蔓> 在 2025-06-18 上传 | 大小:199kb | 下载:0
[编译器/词法分析] SLR
说明:程序输入为形如i+i*i# 或者ii#的串,对于SLR(1)分析,输出为包括分析步骤、分析栈情况、剩余输入串以及分析动作在内的分析过程,并考虑增加语义分析生成中间代码功能的程序扩展。-Program input shape i+i* i# or ii# string for the analysis of the SLR (1), the output analysis to include steps to analyze the analysis process, including the<Jiang> 在 2025-06-18 上传 | 大小:199kb | 下载:0
[编译器/词法分析] (first-follow-select)
说明:构造LL(1)语法分析程序,任意输入一个文法符号串,并判断它是否为文法的一个句子。程序要求为该文法构造预测分析表,并按照预测分析算法对输入串进行语法分析,判别程序是否符合已知的语法规则,如果不符合(编译出错),则输出错误信息-Construct LL (1) parser, enter an arbitrary string of grammar symbols, and determine if it is a sentence grammar. Procedural requirements<张丽> 在 2025-06-18 上传 | 大小:199kb | 下载:0
[编译器/词法分析] switch_struct
说明:It is a describe the switch-case struct for new beginner.This example is a simple.<meryem> 在 2025-06-18 上传 | 大小:199kb | 下载:0