-
这是很好的编译原理的词法分析程序。供大家参考!
这是很好的编译原理的词法分析程序。供大家参考!
- 2022-03-24 08:00:15下载
- 积分:1
-
编译原理简单优先的文法的分析,有过程,一目了然,谢谢指教。...
编译原理简单优先的文法的分析,有过程,一目了然,谢谢指教。-compiler priority to the principle of simple grammar analysis, a process, clear, thank you for your excellent suggestion.
- 2022-07-09 02:45:15下载
- 积分:1
-
如果有人学习单片机,不如msp430,可以看看这些资料,对其学习很有用...
如果有人学习单片机,不如msp430,可以看看这些资料,对其学习很有用
-If someone learning single-chip, it is better to msp430, can look at such information useful to their learning
- 2022-01-27 23:04:13下载
- 积分:1
-
一个slr(1)的 语法分析器
可以自行输入文法
一个slr(1)的 语法分析器
可以自行输入文法-1 slr (1) parser can enter your own grammar
- 2022-06-28 23:14:36下载
- 积分:1
-
简单的c词法分析器,能分析出整数,标志符,保留字等。
简单的c词法分析器,能分析出整数,标志符,保留字等。-easy wordedit
- 2022-04-09 03:29:37下载
- 积分:1
-
编译原理的一个题目:算符优先分析
编译原理的一个题目:算符优先分析-Compilation Principle of a topic: operator priority analysis
- 2023-05-29 10:30:03下载
- 积分:1
-
C_minus BNF language syntax definition of procedures from the list of statement...
C_minus语言的BNF语法定义 程序由声明的列表(或序列)组成,声明可以是函数或变量声明,顺序是任意的。至少必须有一个声明。接下来是语义限制(这些在C中不会出现)。所有的变量和函数在使用前必须声明(这避免了向后backpatching引用)。程序中最后的声明必须是一个函数声明,名字为main。注意,C-缺乏原型,因此声明和定义之间没有区别(像C一样)。-C_minus BNF language syntax definition of procedures from the list of statement (or sequence), with a statement can be variable or function statement, the order is arbitrary. There must be at least one statement. Next is the semantic constraints (these will not arise C). All the variables and functions to be used in the statement (which avoids the use Backpatching backwards). Procedures must be the last statement is a function declaration, the name of the main. Attention C- lack of a prototype, and the definition of a statement is no difference between (the same as C).
- 2022-03-04 15:33:26下载
- 积分:1
-
language A. A definition of the character set of data type definition
附录A S语言说明 A.1 字符集的定义 3数据类型定义-language A. A definition of the character set of data type definition
- 2022-07-15 06:41:38下载
- 积分: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
-
朋友给的一个产品的demo程序,说是对学单片机的朋友极其有用...
朋友给的一个产品的demo程序,说是对学单片机的朋友极其有用-Friend to a product demo program, saying it was for school SCM extremely useful to Friend
- 2022-03-18 10:38:37下载
- 积分:1