-
编译原理语法分析器
编译原理语法分析器-parser compiler theory
- 2022-03-15 21:40:46下载
- 积分:1
-
Pascal语言的小型编译器
Small compiler for Pascal
- 2022-07-01 17:20:10下载
- 积分:1
-
compiler theory word recognition
编译原理单词识别-compiler theory word recognition
- 2022-02-06 05:32:45下载
- 积分:1
-
编译课程的斯坦福大学
斯坦福大学操作编译器课程讲义(cs143) stanford university compiler course-stanford university compiler course
- 2022-02-01 01:38:07下载
- 积分: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
-
用 c++写的编译器, 只有语法和词法
用 c++写的编译器, 只有语法和词法- Compiler writes which with c, only has the grammar and the
morphology
- 2022-08-18 09:17:30下载
- 积分:1
-
用vc编写的一个词法分析源程序,可以对输入的C语言语句进行种别分类...
用vc编写的一个词法分析源程序,可以对输入的C语言语句进行种别分类-vc prepared with a lexical analysis of the source, can be imported to the C language statements for other species classification
- 2023-03-03 12:05:03下载
- 积分:1
-
使用lex yacc编译/小
一个使用lex/yacc的小型C编译器- Uses lex/yacc the small C compiler
- 2023-02-26 02:15:03下载
- 积分: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
-
C语言实现的SIMPLE语言词法分析器,并用JAVA实现界面。
C语言实现的SIMPLE语言词法分析器,并用JAVA实现界面。-the C language SIMPLE language lexical analyzer and used JAVA interface.
- 2022-07-21 03:17:49下载
- 积分:1