-
词法分析程序,可对以下的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
-
Compiler Principle of First Set and Follow procedures set generation, which is m...
编译原理中的First集与 Follow集生成程序,这是我用C++语言写的,希望对大家有点用处。-Compiler Principle of First Set and Follow procedures set generation, which is my C++ languages, we hope to somewhat useful.
- 2022-08-03 11:14:07下载
- 积分:1
-
用c语言实现的语法语义分析程序 实现了四元式得生成功能齐全...
用c语言实现的语法语义分析程序 实现了四元式得生成功能齐全-with language syntax semantic analysis of the program in four yuan-generation multifunctional
- 2022-05-29 02:22:19下载
- 积分:1
-
关于C编译起的源码,喜欢C++的朋友可以
关于C编译起的源码,喜欢C++的朋友可以-On the C compiler from the source code, like C++" s friends can see
- 2022-01-31 02:00:13下载
- 积分:1
-
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法...
一个flex和bison用法入门的很好的例子。 按照词法分析,语法分析,语义分析的顺序来熟悉flex和bison这两个有力的工具。最后给出了一个用flex做词法分析用bison做语法分析设计的科学计算器(不同于一般程序设计中的入门级计算器),是学习编译原理的很好的例子。-a flex and bison portal usage of a very good example. According lexical analysis, parsing, Semantic analysis of the sequence to flex and bison familiar with these two powerful tool. Finally, a use flex do lexical analysis bison do syntax analysis and design of scientific calculators (unlike General Program Design"s entry-level calculators), compiler theory is the study of good examples.
- 2022-02-28 21:54:31下载
- 积分:1
-
突出真实
HIGHLIGHT TRUE
#define NOHIGHLIGHT FALSE
#define UPDATE TRUE
#define NOUPDATE FALSE
#define FORMAT TRUE
#define NOFORMAT FALSE
#define LEFT 0-HIGHLIGHT# define NOHIGHLIGHT TRUE FALSE UPDATE# define TRUE## define FALSE de NOUPDATE fine FORMAT# define TRUE FALSE# defin NOFORMAT e LEFT 0
- 2022-09-18 04:20:03下载
- 积分:1
-
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。...
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(-read a word process, from the import of the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (
- 2023-03-20 00:35:03下载
- 积分:1
-
正规(则)表达式转化为NFA,DFA,DFA最小化,显示结果和过程
正规(则)表达式转化为NFA,DFA,DFA最小化,显示结果和过程-Formal (then) regular expressions into NFA, DFA, DFA minimization, and process the result will be displayed
- 2023-08-04 00:15:03下载
- 积分:1
-
单片机与PC机通信的程序,pc机程序用c语言来编写,单片机程序用汇编语言来编写...
单片机与PC机通信的程序,pc机程序用c语言来编写,单片机程序用汇编语言来编写-dfafdfa
- 2022-06-02 14:26:14下载
- 积分:1
-
系统地讲述了计算机语言的编译原理。如:编译器、词法分析、文法等...
系统地讲述了计算机语言的编译原理。如:编译器、词法分析、文法等-Systematically about the principles of computer language compiler. Such as: compiler, lexical analysis, grammar, etc.
- 2023-03-09 13:55:04下载
- 积分:1