搜索资源列表
interpreter
- flex&bison做的C语言编译器 文件写在word里, 列表为,内含详细注解(不过是日文,不过代码还是很好用) interpreter.h interpreter.iprg.c interpreter.tree.c interpreter.misc.c interpreter.y interpreter.l
getitem
- 从各种控件中获得数据 自动生成XML文档 并通过XSLT转换为其他形式的XML文档-from a variety of data access controls which automatically generate XML and XSLT through conversion to other forms of XM L Documents
compile123148
- 非常好的编译源代码 将一个l语言转换为中间代码 java版本-very good source code will compile a l converted to intermediate language code java version
lAlR(1)
- 这个文档是语法分析的文档,对输入的文档进行lR(1)分析,然后对所给的句型进行分析,判断是否合理-this document is grammatical analysis of documents, the importation of the document for l (1) analysis, then on to the boys for analysis, to determine whether reasonable
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)总控程序的构造(查表程
rs232_syscon_v
- This a state-machine driven rs232 serial port interface to a \"Wishbone\" // type of bus.-This a state-driven machine rs232 seria l port interface to a "Wishbone" / / type of bus.
00002
- 并且在卷积码编码过程中,添零数为k1*(L-1)=2,(注:L=3),再对序列进行图示的映射,可通过以下程序实现:-in convolution coding process, the number of zero-Tim k1 * (L-1) = 2, (Note : L = 3), then right sequence shows the mapping process can be achieved through the following :
l-language-in-c
- 本学期编译课程需要实现L语言,本源码用c实现了L语言的词法语法的分析部分-compile this semester courses need to achieve L language, the source code used to achieve the L c language lexical analysis of the grammatical
NFA
- 实现NFA确定化子集算法程序。DFA是NFA的特例。对每个NFA N一定存在一个DFA M ,使得 L(M)=L(N)。对每个NFA N存在着与之等价的DFA M。从NFA的矩阵表示中可以看出,表项通常是一状态的集合,而在DFA的矩阵表示中,表项是一个状态,NFA到相应的DFA的构造的基本思路是:1.DFA的每一个状态对应NFA的一组状态. 2. DFA使用它的状态去记录在NFA读入一个输入符号后可能达到的所有状态.。-achieve NFA Number algorithm to deter
ucw-src129
- UC Library Extensions UnderC comes with a pocket implementation of the standard C++ libraries, which is a reasonably faithful subset. This documentation describes those UnderC functions and classes which are not part of the C++ standard. UC
grammar
- 为L语言设计一个语法分析器。 读入源程序,输出分析过程,包括状态,已规约串,当前输入,语义动作(移进/规约),规约使用的产生式。适当考虑错误处理。
L.tar
- L属性定义的利用lex和yacc做的计算器。
pl/0
- /*PL/0编译系统C版本头文件pl0.h*/ /* typedef enum { false, true } bool; */ #define norw 13 /*关键字个数*/ #define txmax 100 /*名字表容量*/ #define nmax 14 /*number的最大位数*/ #define al 10
compiler.rar
- decaf.jar 是将类java的decaf语言编译成tac码(Three address code,类似汇编指令)的编译器。 包含了前端的词法和语法分析、语义分析,中间代码的生成。是我最近写完的编译课的一个作业。 例子: 1. 调用 java -jar decaf.jar -l 2 blackjack.decaf > blackjack.tac 生成 *.tac 文件 2. 然后,调用 java -jar tac.jar blackjack.tac
c--.l
- 用yacc写的c编译器,包括各种运算符,逻辑运算符等等。-With yacc written c compiler, including operators, logical operators and so on.
LexAndYacc
- YACC和LEX的资料书籍 以及一些源码 很有帮助-YACC and LEX information source books as well as some helpful
lua
- lua editplus插件包 使得语法高亮显示lua editplus插件包 使得语法高亮显示-lua editplus插件包 使得语法高亮显示
lr0
- LR分析法是一种自下而上进行规范归约的语法分析法,L指从左到右扫描输入符号串,R是指构造最右推导的逆过程。对大多数无二义性上下文无关文法描述的语言都可用它进行有效的分析。主要分析器有LR(0),SLR(1),LR(1),LALR(1): LR(0):在分析的每一步,只需根据当前栈顶状态而不必向前查看输入符号就能确定应采取的分析动作。所能分析的LR(0)文法要求文法的每一个LR(0)项目集中都不含冲突项目。 -LR analysis is a bottom-up norms to r
LexicalAnalysis
- 此为词法分析程序,词法分析要求:简单词法文法: <关键字>->main|int|char|string|while|do|if|else|for <标识符>->L|<标识符>L|<标识符>D <整数>->D|<整数>D <运算符>->+|-|*|/|=|<|>|<=|>=|<>|= = <界符>->( | )
LL1
- LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。 LL(1)文法的判别需要依次计算FIRST集、FOLLOW集和SELLECT集,然后判断是否为LL(1)文法,最后再进行句子分析。 -LL (1) grammar using a set top-down analysis techniques. LL (1)
