搜索资源列表
-
0下载:
c—语言的句法分析器。读入一个C--语言程序,判断该程序是不是一个合法的C--语言程序-c-language parser. Reading into a C -- Language Program, the judgment that the procedure was not a legitimate C -- Language Program
-
-
0下载:
c语言程序,一些常用的算法,来源于网络收集,希望大家指教。-c language program, some of the commonly used algorithms, and from the network to collect, we hope the exhibitions.
-
-
0下载:
把pascal程序转成C语言程序 把pascal程序转成C语言程序-pascal procedures to put into C language program pascal procedures to put into C language program put pas cal procedures conversion C Programming Language
-
-
0下载:
该程序可将逆波兰表达式转换为C语言程序。-the inverse process can be converted to Poland expression C language program.
-
-
1下载:
编译原理的语法生成器 ,可以对C语言程序进行分析。-principle of grammar compiler generator, the C language program for analysis.
-
-
0下载:
简单的词法分析小例子- Simple lexical analysis small example
-
-
0下载:
c-词法分析(Lex自动生成) 能自动生成c-语言程序的token序列-c-lexical analysis (Lex automatically generated) can be automatically generated c-language program of the token sequence
-
-
0下载:
noname00.cpp 是一个C语言的程序,请编译后运行。是取最大值程序-noname00.cpp is a C language program, compiled to run. Is the maximum check procedures
-
-
0下载:
用C语言实现了简单的词法分析功能,用户输入任意字符串,程序输出经分析后的token序列-Using C language to achieve a simple lexical analysis function, the user to enter arbitrary strings, the program output by the analysis of the token sequence
-
-
0下载:
词法分析器,本程序是C语言的一个子集的词法分析程序,只能识别整型数字和部分关键字和部分符号。-Lexical analyzer, the C language program is a subset of the lexical analysis procedure to identify only integer numbers, and some parts of keywords and symbols.
-
-
0下载:
avr单片机ICC AVR,STUDIO4 C 语言编译器源码程序-avr Singlechip ICC AVR, STUDIO4 C language source program compiler
-
-
0下载:
编译课上做的小程序,用四种分析方法分别实现(LL1,算符优先,递归下降,简单词法分析)
完成对正则文法所描述的Pascal语言子集单词符号的词法分析程序。
<标识符>→字母︱ <标识符>字母︱ <标识符>数字
<无符号整数>→数字︱ <无符号整数>数字
<单字符分界符> →+ ︱- ︱* ︱ ︱(︱)
<双字符分界符>→<大于>=︱<小于>=︱<小于&g
-
-
0下载:
C语言的词法分析程序报告DOC版 包含了对词法的分析 学习编译原理时所用到的 -C language lexical analysis program DOC version of the report contains an analysis of lexical principle of learning by the compiler used
-
-
0下载:
这是一个使用了LEX所编写的Simple语言的词法分析器。Simple语言的定义说明请看附件。这个LEX的源代码可以通过Parser Generator 2来转化成为h文件跟cpp文件。由于编译这两个文件需要使用到Parser Generator 2的C++库,所以就只上传了LEX的源代码,谁感兴趣的可以自己通过Parser Generator 2来转化。至于UNIX下面的LEX工具如果想要转化的话需要修改其主程序,另外需要将LEX源代码之中有关C++语言的表达形式修改成为相应的C语言的表现形式
-
-
1下载:
手工构造一个能够识别C语言的所有典型单词,如:标识符、数字、运算符,和if、while等保留字的确定有限自动机,并写出对应该自动机的程序;然后以一个简化的C语言程序为输入文件,通过所设计的基于上述自动机的词法分析程序获得输入文件中的各个单词及其内码对照表,并以文件形式保存结果(也就是TOKEN序列)。
将自己定义的各个正则表达式转化为NFA,然后将其综合为NFA ,再将NFA 转化为DFA,再将DFA转化为最少状态的DFA ,最后由DFA 转化为词法分析程序。-Manually constr
-
-
1下载:
一份完整的编译原理课程设计.设计了一个词法分析器和一个利用LL(1)算法实现的语法分析器.可以对C-语言编写的程序进行词法分析和语法分析,当出现错误时推断可能的原因.并最终用直观的方式构建起一棵语法分析树.-A complete compilation Principle. Designed a lexical analyzer and a use of LL (1) parser algorithm. Can be written in C-language program for lexic
-
-
2下载:
c—语言的句法分析器。读入一个C--语言程序,判断该程序是不是一个合法的C--语言程序。如果程序有语法和语义错误,则给出错误信息。-c-language parser. Read into a C- language program, to determine whether the program is not a valid C- language program. If the program has syntax and semantic errors, then gives an er
-
-
0下载:
c—语言的词法分析器。将一个C--语言程序分割成token串的序列。处理C--语言的所有token类型。内附实验报告。-c-language lexical analyzer. A C- language program is divided into token strings of sequence. Treatment C- language of all token types. Containing the test report.
-
-
1下载:
设计一个简单的词法分析器,从而进一步加深对词法分析器工作原理的理解。了解编译原理中词法分析器的原理,并用一种编程语言的具体代码实现简单的词法分析器的功能(在这里我使用C语言实现,代码可以完成简单的C语言程序中的关键词,变量,分界符,数字,运算符,赋值符。)-Design a simple lexical analyzer to further deepen the understanding of the lexical analyzer works. Compiler theory to u
-
-
0下载:
编译原理词法分析器程序,利用词法分析自动构造工具LEX构造一个识别C语言的词法分析程序-Compiler theory lexical analyzer program, the use of the lexical analysis of the automatic construction tools LEX to construct a lexical analysis to identify the C language program
-