-
词法分析程序,可对以下的C源程序进行分析
词法分析程序,可对以下的C源程序进行分析:main() {int a[12] ,sum for(i=1 i=1 j--){ if(i==j&&i+j==13)sum+=a[i][j] } } printf("%c",sum) }-lexical analysis procedures, right below the C source code analysis : main () (int a [12] [12], the sum for (i = 1 ilt; I = 12) (for (j = 1 JLT; J = 12) Scanf ( "% d", a [i] [j])) for (i = 12 IGT; a = i--) (for (j = 12 IGT; = 1 j--) (if (i == ji j == 13) sum = a [i] [j])) printf ( "% c", sum
- 2022-07-19 15:44:58下载
- 积分:1
-
1.The content is too simple
2.Is not a sourcecode or document
3.lost some fi...
1.The content is too simple
2.Is not a sourcecode or document
3.lost some files
4.Description is not detailed or not correct
5.Compressed file has password
6.Sourcecode duplicate or already exist
po
- 2022-10-30 23:15:03下载
- 积分:1
-
vc实现的pl0编译器,有读取输出功能
vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing
- 2022-10-10 13:20:03下载
- 积分:1
-
一个由LEX编写的C
一个由LEX编写的C-词法分析程序。为锻炼使用者能力,未加载LEX已编译的代码。建立时最好建立控制台程序。-LEX written by a C-lexical analysis program. The user the ability to exercise without load LEX compiled code. Is best to establish procedures for the establishment of the console.
- 2022-03-24 22:33:27下载
- 积分:1
-
Yacc例子代码
Yacc例子代码-Yacc example code
- 2022-03-07 16:30:57下载
- 积分:1
-
词法分析程序设计 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的...
词法分析程序设计 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的-Lexical analysis program design one, given the various types of code word symbols. 2, lexical analysis procedure should be able to detect errors in the input strings. 3, again as a separate lexical analysis prepared for morphological analysis of binary sequence composed of
- 2022-03-25 19:56:04下载
- 积分:1
-
编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改...
编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。- Translation principle LR (0) grammar analyzer input legitimate
LR (0) the grammar, will output LR (0) the analytical table, and will
be allowed to carry on the grammar analysis output corresponding
grammar tree to the input sentence. In the procedure the partial
algorithms very are not succinct, await improvements, welcome the
friend and my many exchanges.
- 2022-05-17 18:31:19下载
- 积分:1
-
small c source code for Z80
small c for z80 源代码-small c source code for Z80
- 2022-01-21 19:42:47下载
- 积分:1
-
这是一个用C++编写的编译原理的词法分析程序,希望对各位学习编译的同学有一定帮助...
这是一个用C++编写的编译原理的词法分析程序,希望对各位学习编译的同学有一定帮助-This is a C compiler prepared by the tenets of lexical analysis procedure, and I hope to learn from you and the compiler will definitely help students
- 2022-08-20 11:31:33下载
- 积分:1
-
pl0编译器
pl0编译器-pl0 compiler
- 2022-03-13 01:14:44下载
- 积分:1