搜索资源列表
简单优先算法
- 本程序主要用于实现自底向上分析技术中的简单优先分析算法,简单文法可由键盘输入,实现功能包括:简单优先文法的判别,优先关系矩阵的输出,句子的识别等-the procedures used to achieve a bottom-up analysis of a simple priority analysis algorithms, simple grammar could be the keyboard input to achieve features include : simple gra
mn
- 算符优先分析算法实现 编译原理课程设计 显示移进规约-operator priority analysis algorithm compiler theory of curriculum design show moved into the Statute
Lex_Yacc_Parser
- 语法分析器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)总控程序的构造(查表程
lemon
- lalr(1)算法实现,可以在windows平台和其他平台编译。
编译原理---算浮优先算法
- 简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎
某小型语言的预测分析器
- 设计一个小型语言,要求有基本的程序语句,给出该小型语言的LL(1)文法,用预测分析法实现对该小型语言的LL(1)文法的语法分析。
简单的词法分析器 java 实现
- 简单的词法分析器 java 实现
NFA-CONVERT-TO-DFA
- 编写程序读取nfa.txt,构造出NFA的数据结构,并编写算法实现NFA到DFA的转化。-Write a program to read nfa.txt, the data structure constructed NFA and NFA to DFA write algorithm transformation
memory
- 最优算法实现存储管理,实现了存储空间的分配和回收-Optimal storage management algorithm to achieve the storage space allocation and recovery
suanfa
- 实现识别标识符的状态转换图算法。掌握识别标识符的状态转换图的理论知识和算法实现。-Identifier to achieve recognition of the state transition map algorithm. Master identifier to identify the state transition graph theoretical knowledge and algorithms to achieve.
c-viterbi
- 这是(2,1,7)viterbi编码和译码的c语言代码 译码中是用基二算法实现的,运行时首先要在c盘中建立一个输入文件和一个输出文件。-This is the [2,1,7] viterbi encoding and decoding of the c language code decoding is to use the base implementation of the second algorithm, run-time we must first set up in c aft
2
- 词法分析器状态图转换 识别标识符的状态转换图的理论知识和算法实现-Lexical analyzer state diagram conversion identifier to identify the state transition graph theory and algorithms to achieve
automaticToregularExpression
- 自动机的确定化和最小化设计文档,包括实现原理,算法实现流程图,测试数据,结果输出与分析-automatic definition and minimize design documeng
ll0
- ll0算法实现, 编译原理实验题-ll0
3971007slr
- 用C++实现的编译原理的SLR算法实现,能运行成功通过-Implemented with C++ compiler principles SLR algorithm can be run successfully passed the
Compiler
- 一份完整的编译原理课程设计.设计了一个词法分析器和一个利用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
OPG
- 主要是编译原理学习中词法和语法分析的算法实现程序-Lexical and grammatical primarily compiled the algorithm analysis procedure
interpreter
- 大四编译原理课程设计要求做的一个解释器,first集合,follow集合算法实现等等。-The senior compiler theory of curriculum design requirements to do an interpreter, the first collection, follow collection algorithm.
LR语法分析器
- 北邮编译原理LR算法实现,代码清晰,便于更好地学习算法-Beijing University of Posts and Telecommunications compiler theory LR algorithm
bupt_LL
- 北邮编译原理LL算法实现,代码清晰,便于更好地学习算法-Beijing University of Posts and Telecommunications compiler theory LL algorithm