-
可能产生的java代码的语法生产
一个可以生成java代码的语法生成器- May produce the java code the grammar production
- 2022-03-05 02:55:35下载
- 积分:1
-
err
< 编译原理实用教程>>中的程序源代码:包括词法,语法分析,目标代码生成等-err
- 2022-02-04 07:55:11下载
- 积分:1
-
SLR parser
slr语法分析器-SLR parser
- 2022-02-24 15:46:01下载
- 积分:1
-
该系统是本人课程设计作业,因为时间关系,只用了两天多的时间编成。所以有很多地方没有得到增强。版本为1.0。现作以下升级。 增加NEW,OPEN版本。 提高输入容...
该系统是本人课程设计作业,因为时间关系,只用了两天多的时间编成。所以有很多地方没有得到增强。版本为1.0。现作以下升级。 增加NEW,OPEN版本。 提高输入容错。判断输入的对错。 时间关系,搜索功能为线性搜索,现增强如下:f_search:费氏查找法;btree:二叉树查找法;l_search:线性查找法; r_search:递归折半查找法;zcsear:杂凑碰撞查找法;o_sear:插补查找加强法; 排序是冒泡法,现增强为:heaps:累堆排序;binary:二叉树排序;xieer:谢耳排序;sinsert:插入排序;quicks:快速排序;select:选择排序法; 有时间不仿试试。-f_search: Find Act Fernandez btree: binary tree search method l_search: linear search method r_search: Recursive half Find Law zcsear: Find a hash collision law o_sear: interpolation search Enhancement Act sort is bubbling method are enhanced for: heaps: HEAPSORT tired binary: binary tree sort xieer: Xie ears sort sinsert: Insertion Sort quicks: quick sort select: Select Sort Method
- 2022-12-09 21:20:03下载
- 积分:1
-
《编译原理及实践》一书的电子版,该电子版很清晰
《编译原理及实践》一书的电子版,该电子版很清晰- Compiler Construction Principles and Practice of electronic version of the book, the electronic version is very clear
- 2023-01-21 23:30:04下载
- 积分:1
-
这个是我编译原理课程设计的 内容,呵呵 我遍的是词法分析,基本的功能都能够实现,如词法分析,词法查错,删除无实质意义的字符等,不懂编译的就不用看了,编译真的很难...
这个是我编译原理课程设计的 内容,呵呵 我遍的是词法分析,基本的功能都能够实现,如词法分析,词法查错,删除无实质意义的字符等,不懂编译的就不用看了,编译真的很难!!!不过好象没什么用-this my compiler theory of curriculum design, Oh my times of lexical analysis, the basic functions are to achieve, such as lexical analysis, lexical troubleshoot, remove no real significance of the characters, do not know the compiler would not have to read, compile it really hard! ! ! But it seems usele
- 2022-02-06 06:28:34下载
- 积分:1
-
对一个文件可以分词的系统,挺有用的哦
对一个文件可以分词的系统,挺有用的哦-right can be a Word document system, quite the oh
- 2022-06-26 22:57:00下载
- 积分:1
-
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将...
这里以开始定义的PASCAL语言子集的源程序作为词法分析程序的输入数据。在词法分析中,自文 件头开始扫描源程序字符,一旦发现符合“单词”定义的源程序字符串时,将它翻译成固定长度的单 词内部表示,并查填适当的信息表。经过词法分析后,源程序字符串(源程序的外部表示)被翻译成 具有等长信息的单词串(源程序的内部表示),并产生两个表格:常数表和标识符表,它们分别包含 了源程序中的所有常数和所有标识符。- Here starts the PASCAL language subset source program which
defines to take the lexical analyaer the data-in. In the lexical
analysis, starts from the article article to scan the source program
character, once discovered when conforms to "the word" the definition
source program character string, translates it the fixed length the
word interior to indicate, and looks up fills in the suitable
information table. After the lexical analysis, the source program
character string (source program exterior expression) is translated
has and so on the long information the word string (source program
internal expression), and produces two forms: The chart and the
identifier table, they have separately contained in source program all
constants and all identifiers.
- 2022-03-30 16:56:06下载
- 积分:1
-
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。...
一个程序,用于判定给定的文法是否为算符优先文法。 实现了:1.文法的机内表示;2. FIRSTVT集和LASTVT集的计算; 3. 算符优先关系矩阵的构造。-a procedure for the determination of grammar to whether the operator priority to grammar. Realized : 1. Grammar said the machines; 2. LASTVT FIRSTVT sets and set computing; 3. Operator precedence relations of the matrix structure.
- 2022-02-18 16:37:46下载
- 积分:1
-
(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C...
(1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言;
(2) 一个简单的说明文档;
(3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录;
(4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。
注意事项:
(1) 两人一组
(2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,JavaCC,ANTLR等
(3) 不用考虑Pascal和C的关键词不同问题,即Pascal子集语言中假设不出现int,for等作为变量标志符
(4) read()和write()可用由scanf(),printf()等组成的语句转换。
(5) 如果有疑问可以发信给我 xpqiu@fudan.edu.cn.
- 2022-03-23 02:20:36下载
- 积分:1