-
用语法分析器编写的语法和词法分析
用c编写的语法解析器,能进行词法和语法分析-c prepared with the parser can make grammatical and lexical analysis
- 2022-02-04 01:25:04下载
- 积分:1
-
- 2022-04-22 10:51:22下载
- 积分: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
-
有限自动机的运行,利用状态表和有限自动机的运行原理,识别一个输入串是否为一个有效的无符号定点实数。...
有限自动机的运行,利用状态表和有限自动机的运行原理,识别一个输入串是否为一个有效的无符号定点实数。-of the operation, the use of tables and limited state of the automatic machine operation principle, to identify whether an input string as a symbol of effective non-sentinel real.
- 2022-08-18 23:32:12下载
- 积分:1
-
Compilation Principle lesson plans. Xidian University Press
编译原理教案。西安电子科技大学出版-Compilation Principle lesson plans. Xidian University Press
- 2022-09-24 18:10:03下载
- 积分:1
-
这是一个使用标准 C 开发的简单的可以对 C 语言程序进行语法检查的程序,本程序检查你的程序中小括号、中括号、大括号、单引号、双引号、/* */ 注释等的配对情...
这是一个使用标准 C 开发的简单的可以对 C 语言程序进行语法检查的程序,本程序检查你的程序中小括号、中括号、大括号、单引号、双引号、/* */ 注释等的配对情况,可以及时发现程序中存在的语法错误情况。-This is a standard C development can be a simple C language syntax procedures for the inspection procedures, the procedures check your procedures small brackets, brackets, brackets, the single quotes, double quotes,/**/Notes for the match, found it timely procedures the errors of grammar.
- 2023-08-21 19:30:02下载
- 积分:1
-
这是一个模拟语言的编译程序
这是一个模拟的C语言编译器---Little C程序。可支持递归、if语句、do-while、return等语句。-This is a simulation of the C language compiler-Little C procedures. Support recursion, if statements, do-while, return and other statements.
- 2022-03-02 21:40:08下载
- 积分:1
-
这是程序是一种脚本语言
this about neko program which is a script langugage
- 2023-08-01 01:50:03下载
- 积分:1
-
语言解释器的源代码,可以在Linux,Windows,
Lua语言解释器源代码,可以在linux,windows,
- 2022-04-28 10:47:39下载
- 积分:1
-
用c语言实现的语法语义分析程序 实现了四元式得生成功能齐全...
用c语言实现的语法语义分析程序 实现了四元式得生成功能齐全-with language syntax semantic analysis of the program in four yuan-generation multifunctional
- 2022-05-29 02:22:19下载
- 积分:1