搜索资源列表
youxianzidongjihuajian
- 有限自动机的确定化及化简 1、更正了 DFA_simplify2 中的错误 2、增加新旧状态对照表 ds_temp --NFA转DFA -- 输入字符 -- 要求 id 必须从 1 开始连续递增-Finite Automata and the identification of a simplification, correction of the errors DFA_simplify2 2, increase the old and new stat
词法
- 这是一个词法分析器,、实验内容: 1. 设计扫描器的自动机; 2. 设计翻译、生成Token的算法; 3. 编写代码并上机调试运行通过。 • 要求:输入——源程序文件; 输出——(1)相应的Token序列; (2)关键字、界符表,符号表,常数表。-This a lexical analyzer, and the contents : 1. The design of automatic scanner machine; 2. Design translation, the Token
编译原理课程设计指导书
- 此为一编译原理的课程设计大纲,在里面可以根据大纲的要求编写相应的代码-this as a compiler theory of curriculum design outline, the outline can be inside prepared at the request of the corresponding code
ll(1)YUFAPANDUAN
- 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符
bianyiqi
- 八、 设计SAMPLE语言的语法、语义分析器,输出四元式的中间结果。 检查要求: a] 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音)。 b] 请求输入测试程序名,键入程序名后自动开始编译。 c] 输出四元式中间代码(样式见样板输出3和4)。 d] 能发现程序的语法错误并输出出错信息。 -Eight, design SAMPLE language grammar, semantic analyzer, the output quaternion type
bianyiqi1
- 设计SAMPLE语言的词法分析器 检查要求: a] 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音); b] 请求输入测试程序名,键入程序名后自动开始词法分析并输出结果; c] 输出结果为单词的二元式序列(样式见样板输出1和2);-Design SAMPLE language lexical analyzer inspection requirements: a] start the process, the first output of the author
alu.v.tar
- alu source code for begginer students of electrical ingenierings, adaptable for different needs according to the subject request s
bianyima
- 对这个编码译码器的要求是:打开一片英文文章,能统计该文章中每个字符出现的次数,然后以他们作为权值,对每一个字符进行编码,编码完成后再对其编码进行译码。 -Codec for this request is: Open an English article, to statistics of the article appears in the frequency of each character, and then their value as a right, for each encode
lafeng
- 本代码为根据老师的课程设计要求做的小编译器的词法分析部分和语法分析部分,附件中有老师的要求文档,还有语法分析时使用到的分析表-This code is based on the teacher' s curriculum design requirements to do a small part of the compiler' s lexical analysis and syntax analysis section, in the annex to the request o
Compiler
- 实验一:设计SAMPLE语言的词法分析器 检查要求: 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音); 请求输入测试程序名,键入程序名后自动开始词法分析并输出结果; 输出结果为单词的二元式序列(样式见样板输出1和2); 要求能发现下列词法错误和指出错误性质和位置: 非法字符,即不是SAMPLE字符集的符号; 字符常数缺右边的单引号(字符常数要求左、右边用单引号界定,不能跨行); 注释部分缺右边的界符*/(注释要求左右边分别用/*和*/界定,
comlier1
- 设计SAMPLE语言的词法分析器 检查要求: a) 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音); b) 请求输入测试程序名,键入程序名后自动开始词法分析并输出结果; c) 输出结果为单词的二元式序列(样式见样板输出1和2); d) 要求能发现下列词法错误和指出错误性质和位置: 非法字符,即不是SAMPLE字符集的符号; 字符常数缺右边的单引号(字符常数要求左、右边用单引号界定,不能跨行); 注释部分缺右边的界符*/(注释要求左右边分别用/
boyipowernash
- 通过仿真表明,该算法同几种经典的分布式算法相比,不但降低了发送功率,提高了用户效用,而且有较好的收敛性能,适用于对时延特性要求较高。-Through the simulation shows that this algorithm with several classic distributed algorithm, not only reduce the sending power, improve the user utility, and has better convergence pe
