搜索资源列表
compiling
- 编译原理实验:词法分析、语法分析、语义分析,包含代码和报告、构建分析表、消除左递归、语法分析、流程图-Compiler Principle Experiment: lexical analysis, syntax analysis, semantic analysis, including code and reports, construction of the table, to eliminate left-recursion, parsing, flow chart
bianyi
- java 写的编译原理,包括词法分析,语法分析,目标代码生成。table表等内容-write java compiler theory, including lexical analysis, syntax analysis, object code generation. table table, etc.
pass_compiler
- 龙书《编译原理》中的一遍翻译器,能将表在达翻译成后缀表达式-Again translator Dragon Book " compiler theory, be able to table reached translated into postfix expression
project
- 词法分析器,接收源程序,得到该程序的token串-Simple design of a simple language compiler, we realize that the symbol table design, the design of lexical analysis, syntax analysis and semantic analysis of the design, and ultimately produce quaternion type. Lexical analys
LL1
- 编译原理中的LL1语法分析程序 包括消除左递归, First集和Follow集自动生成, 预测表自动生成, 对输入的句型进行分析。-Compiler theory LL1 syntax analysis procedures, including the elimination of left recursion, First Set and Follow automatically generated prediction table is generated automatically an
LR1
- 编译原理中的lr1分析程序, 主要实现功能:自动生成项目集族, 自动生成lr1分析表(action表和goto表), 对输入的句型进行分析-Compiler Principle lr1 analysis program, the main functions: automatic generation of item sets, which automatically generates lr1 analysis table (action table and goto tables), the
Exercise.4
- 对符号表的操作,编译原理,词法分析器-The operation of the symbol table, compiler theory, lexical analyzer
symbol_table_code_impl
- Symbol table for compiler
(first-follow-select)
- 构造LL(1)语法分析程序,任意输入一个文法符号串,并判断它是否为文法的一个句子。程序要求为该文法构造预测分析表,并按照预测分析算法对输入串进行语法分析,判别程序是否符合已知的语法规则,如果不符合(编译出错),则输出错误信息-Construct LL (1) parser, enter an arbitrary string of grammar symbols, and determine if it is a sentence grammar. Procedural requirements
compiler
- 类C语言编译器,基本上实现了主要功能的C语言语法,词法分析使用状态转移,语法使用LR(1)方法,自动生成ACTION和GOTO转移表。自顶向下的语法制导翻译,可以生成各种类型的表达式(包括布尔,算术,逻辑等等),循环中的while,选择中的if else 和if等,功能比较强大-Class C language compiler, basically realized the C language syntax, lexical analysis of the main features of
FLyuce
- 《编译原理》陈火旺版的预测分析程序的代码实现,主要步骤是从输入文法,先求first集和follow集,然后构造预测分析表,最后对文法进行预测分析。-" Compiler Principle" Code Chen Huo version of predictive analytics program implementation, the main steps the input grammar, seeking first set and follow the first s
lab2
- 任务是在词法分析和语法分析程序的基础上编写一个程序,对C 源代码进行语义分析和类型检查,并打印分析结果。与实验一不同的是,实验二不再借助已有的工具,所有的任务都必须手写代码来完成。另外,虽然语义分析在整个编译器的实现中并不是难度最大的任务,但却是最细致、琐碎的任务。因此需要用心地设计诸如符号表、变量类型等数据结构的实现细节,从而正确、高效地实现语义分析的各种功能。 需要注意的是,由于在后面的实验中还会用到本次实验已经写好的代码,因此保持一个良好的代码风格、系统地设计代码结构和
source
- 编译原理二元式 构造一个简单程序设计语言的词法分析器 有预处理函数扫描函数拼接字符函数查基本字表函数-Compiler theory of binary construct a simple programming language lexical analyzer has the scanning function preprocessing functions mosaic character functions basic word search function table