搜索资源列表
minic
- 输入简单的c语言程序,再通过编译器进行编译,可以得到编译的结果。与c语言的功能相近只是范围较小。还可以生成语法分析树,来看中间是怎么进行编译的。-Enter a simple c language program, and then compiled by the compiler, the results can be compiled. And c function of language is similar to a smaller range. Parse tree can also
GrammarAnalysis
- 一个很不错的C++语法分析器,主要使用的是LL1文法,可以自动判断是否为LL1文法,若是,可以对例句进行语法分析-A very good C++ parser, the main use of the LL1 grammar, can automatically determine whether the LL1 grammar, and if so, can listen to parse
LR1
- 构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。-Construct LR (1) analytical procedures, and use it to parse sentences of whether the judgment given string of symbols for grammar recognition LR (K) analysis method is stri
code
- 这是一个cminus的parse,是有关编译器cminus的代码-This is a cminus parse, code compiler cminus
grammer
- 用c语言实现的编译原理课本中的语法分析部分,可以完全正确的分析课本后的c-minus代码,并且可以建立分析树-Syntax analysis part c language compiler theory textbooks, c-minus after the code can be completely correct analysis textbooks, and can create a parse tree
cp
- 对c代码进行语法分析,生成语句之间的连接关系,借助dot工具以图形化方式显示,另外解析出每个函数的变量的定义、使用情况 该版本没有加入预处理,预处理功能可以自己开发(有些复杂),也可以借助gnu c的预处理功能-Parse c code to generate the connection between the statement, with the dot tool graphically displays another parse out the variables of ea
express
- recursive descent parse for integer expressions.
FileAnalyze
- c语言编写,对指定文件目录下的.c和.h进行解析,得到包含的头文件,声明的函数,定义的函数,及调用的函数-c language, specify the file directory under c and h parse contains header files, functions declared, defined functions, and the called function
code_analyze
- c++编写,解析指定目录下的.c/.h文件,能够获取c文件的基本元素,如宏定义,头文件包含,函数声明,函数定义,函数调用等,并实现了简单依赖关系查找-c++ write, parse .c/.h files in the specified directory, have access to the basic elements of the c file, such as macro definitions, header file contains function declarations
yufa
- 语法分析程序的输入文件为语法分析产生的token串,并在文件最后一列加上了一个#号,代表语法归约结束,程序采用的是递归子程序的方法,如果归约成功会输出Success,如果归约失败,会返回归约到token串的哪个元素出现错误,已经相应的未归约成功的文法产生式是哪条-Parser to parse the input file generated token string, and the last one in the file plus a# sign, on behalf of the end
LL(1)-grammar_analyse
- 编译原理上机实验:LL(1)语法分析。包含测试文本,本语法分析器可以实现对文本的语法分析。-Compiler theory on experiments: LL (1) parsing. Contains test text, the parser can parse the text.
(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
QBasicBNF
- 这是一个QBasic语言的分析器,包括词法分析(QBlex.ll)和BNF语法信息 parse.ypp 可以供正在学编译原理的同学参考-This is a language analys for QBasic,QBlex.ll is a file for flex and parse.ypp is a program for bison
main
- A bottom-up parse corresponds to the construction of a parse tree for an input string beginning at the leaves (the bottom) and working up towards the root (the top) . It is convenient to describe parsing as the process of building parse trees, althou
wenjain1
- 正则表达式转化为DFA。首先转化为逆波兰表达式。再建立语法分析树,求firstops,followops,lastops,nullable函数,构建DFA。-Regular expressions into DFA. First into reverse Polish notation. Re-establishing the parse tree, seeking firstops, followops, lastops, nullable function, build DFA.
DWARF-dump-master
- DWARF-dump-master,解析DWARF格式-DWARF-dump-master,parse DWARF format
lexical-analysis
- 实现了编译器环节中的词法分析,将合法的源代码正确解析为二元式,错误的源代码指出错误的地方-Achieve a compiler environment lexical analysis, legitimate source code correctly parse a binary type, source of the error code indicates the wrong place
pl0编译器c++实现
- 通过c++实现pl0语言的编译器,使之生成中间代码和解析(Through c++ to achieve the pl0 language compiler, so that it generates intermediate code and parse)
parse
- precedence climbing expression parser in javascr ipt by Michael Bruce-Lockhart
MiniC
- 利用C++实现一个简单的C++语言编译器,能够实现 词法分析和语法分析(This is a simple C++ compiler which finished the parse of morphology and grammar)
