搜索资源列表
-
0下载:
课程设计的目的
通过课程设计进一步理解高级语言在计算机中的执行过程,加深对编译原理中重点算法和编译技术的理解,提高自己的编程能力,培养好的程序设计风格。同时通过某种可视化编程语言的应用,具备初步的Windows环境下的编程思想。解和掌握LL(1)语法分析方法的基本原理;根据给出的LL(1)文法,掌握LL(1)分析表的构造及分析过程的实现。
-curriculum design through curriculum design aimed to further understand se
-
-
0下载:
基于c语言编写的关于编译中的词法分析算法的编程-based on the language compiler of lexical analysis algorithm programming
-
-
0下载:
递归下降分析法 是编译原理课程设计的源代码 可用来研究递归下降算法-decline recursive analysis is to compile the curriculum design principle source code can be used to study decline recursive algorithm
-
-
0下载:
基于统计的文本分析中,最为常用的最大熵算法,可直接调用,广泛用于词性标注,词义消岐等-based on statistical analysis of the text, the most commonly used of maximum entropy algorithm, can be called directly, widely used in tagging, Words such as Consumers qi
-
-
0下载:
编译原理LR(0)文法分析器
录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。
程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。
-compiler theory LR (0) grammar analyzer input legitimate LR (0) grammar, will output LR (0) analysis table, and may import for the sentence syntax
-
-
1下载:
算符优先分析算法实现
编译原理课程设计
显示移进规约-operator priority analysis algorithm compiler theory of curriculum design show moved into the Statute
-
-
0下载:
一个小语言的词法分析程序,很不错的哦..
可以算是一个算法的小程序了! -a small language lexical analysis procedures, very good .. Oh algorithm can be considered as a small procedure!
-
-
0下载:
编译器词法分析
1. 设计扫描器的自动机;
2. 设计翻译、生成Token的算法;
3. 编写代码并上机调试运行通过。
• 要求:输入——源程序文件;
输出——(1)相应的Token序列;
(2)关键字、界符表,符号表,常数表。
-compiler is a lexical analysis. Automatic design of the scanner; 2. Design translation, the Token generation algor
-
-
2下载:
语法分析器lex和词法分析器yacc的C++语言实现
1.Lex
(1)Lex输入文件的解析
(2)正规表达式的解析
(3)一个正规表达式到NFA的转换算法实现
(4)多个NFA的合并
(5)NFA的确定化和最小化算法实现
(6)返回状态与返回内容的对应
2.Yacc
(1)Yacc输入文件的解析
(2)上下文无关文法到对应LR(1)文法的下推自动机的构造
(3)LR(1)文法的下推自动机到相应分析表的构造
(4)LR(1)总控程序的构造(查表程
-
-
0下载:
编译原理中的slr分析算法,
希望对需要的人有帮助-compiler theory of slr analysis algorithm, and I hope to those who need help
-
-
0下载:
编译原理中的slr分析算法 这个是同学编的。希望能通过验证~-compiler theory of slr analysis algorithm is the addendum to the students. Hope that through the certification ~ Oh
-
-
0下载:
针对C++的简单词法分析器,局限性较大,算法简单,易懂,导入词法文件,输出分析结果-against C simple lexical analyzer and limitations larger, the algorithm is simple, understandable, import documents morphology, Output analysis
-
-
0下载:
LL(1)分析法
1、LL(1)分析法的功能
LL(1)分析法的功能是利用LL(1)控制程序根据显示栈栈顶内容、向前看符号以及LL(1)分析表,对输入符号串自上而下的分析过程。
2、LL(1)分析法的前提
改造文法:消除二义性、消除左递归、提取左因子,判断是否为LL(1)文法,
3、LL(1)分析法实验设计思想及算法-LL (1) an analysis, LL (1) Analysis of the functional LL (1) Analysis of the fun
-
-
1下载:
汇编的作业2,足够应付老师了,是一个以算符优先分析算法的语法分析器。-compiled by the two operations, sufficient to meet the teachers, it is a priority to operators analysis algorithm Parser.
-
-
0下载:
一个非常好的语法分析器,windows界面的,有实例也可以自行输入,算法优先分析方法。C#语言-a very good parser, windows interface, it can also examples of their own input, Priority algorithm analysis. C# Language
-
-
0下载:
1. 构造一小型C语言SimpleC的编译器软件,达到综合理解和运用编译原理课程所讲解的关键过程(词法分析、语法分析、静态语义分析、代码生成)及相关算法的目的。
2. 通过本实验理解和掌握一般编译程序的程序组织方法和测试方法。
-1. Tectonic a small SimpleC the C language compiler software. achieve comprehensive understanding and use of compiler theory course
-
-
0下载:
使用递归子程序法设计一个语法分析程序,自顶向下分析方法.
1、使用递归下降分析算法分析表达式文法:
exp ::= exp addop term | term
addop ::= + | -
term ::= term mulop factor | factor
mulop ::= * | /
factor ::= (exp) | number
其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到number的值。
2、该
-
-
0下载:
主要是编译原理学习中词法和语法分析的算法实现程序-Lexical and grammatical primarily compiled the algorithm analysis procedure
-
-
0下载:
编译原理LL(1)分析算法。。。自己写的-Compiler theory LL (1) parsing algorithm. . . Wrote it myself. .
-
-
0下载:
本程序实现的是预测分析算法,是编译原理上机实现的具体源码-The program analysis algorithms to achieve the forecast, the principle is to compile the source code on the machine to achieve the specific
-