搜索资源列表
StarterFiles
- 基于lex和yacc实现的编译原理词法分析、语法分析。-Implemented based on lex and yacc compiler theory of lexical analysis, syntax analysis.
mycompile
- 编译原理 IF条件语句的翻译程序设计—简单优先法、输出四元式 通过设计、编制、调试一个条件语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。 具体做到以下几点: ①对输入语句进行词法分析。将输入的字符串进行扫描和分解,识别出一个个合法的单词。单词种类包括:关键字,标识符,运算符,常数和界限符 ②进行语法分析。编写条件语句的相应文法,按照语法分析方法中的简单优先分析法为文法设计简单优先表,对词法分析得到的单词序列进行语法分析,以
yffx
- 语法分析 C2.1 实验目的 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析. C2.2 实验要求 利用C语言编制递归下降分析程序,并对简单语言进行语法分析. C2.2.1待分析的简单语言的语法 用扩充的BNF表示如下: (1)<程序>::=begin<语句串>end (2)<语句串>::=<语句>{ <语句>} (3)<语句>::=<赋值语句>
C_compiler
- 一个很C语言的编译器,相当的不错。有词法分析和程序语法分析!错误提示,正确定位程序的错误地方!-the compiler is very good!
libolanshi
- 赋值语句的翻译 通过设计、编制、调试一个典型的语法成分的语法分析和语义分析程序,实现对词法分析程序所提供的单词序列进行语法检查和结构分析以及语义翻译工作,进一步掌握常用的语法分析方法和语义分析方法。 要求: 选择最有代表性的语法分析方法,如算符优先法(或简单优先法)、递归下降分析法、LL分析法和LR分析法之一进行语法分析。 选择对各种常见程序语言都通用的语法结构,如赋值语句(尤指表达式)作为分析对象,并且与所选语法分析方法要比较贴切。 选择最有代表性的语义分析方法,如语法制
yu_fa
- 简单的赋值语句的翻译程序,如输入表达式a=3*4-(8+7)/5,进行词法和语法分析后输出中间结果-A simple assignment statement, the translation program, such as the importation of the expression a = 3* 4- (8+7)/5, for lexical and grammatical analysis of output of intermediate results
ano
- 小型pascal语音编译器,包含词法分析工具FLEX和语法分析工具Bison-compiler pascal
CompileSys
- VC++基于PL/0语言的词法、语法分析系统,测试文件以及源代码工程,从界面来看,貌似很专业。请注意要将编译后的可执行文件放到同一个目录下,否则调用会出错。程序仿VC的界面,调试和IDE环境做的不错。有心朋友请下载研究,这里不多说了。 -VC++ based on the PL/0 language, lexical, syntax analysis system, test files and source code project, from the interface point of
Parser
- 一个c语言实现的简单的语法分析器,包括词法分析和语法分析两部分。-Lexical Analysis Parser
Compiler
- 用于实现程序(int area,r;area=r+r*r;)语句的词法分析和语法分析并输出相应的二元式、四元式、语句说明。-The implementation code lexical analysis and syntax analysis.
Compiler-theory-experiments
- 通过设计、编制、调试典型的SLR(1)语法分析程序,实现对实验一所得词法分析程序所提供的单词序列进行语法检查和结构分析,进一步掌握常用的语法分析方法。-A typical SLR (1) parser through the design, development, debugging, syntax checking and structural analysis of lexical analysis program, the experimental one obtained by the
pl0word
- c语言编写的pl0词法分析器,从文件读入pl0程序,进行语法分析,在文件和屏幕输出分析结果-lexical analyzer c language pl0 read from the file into pl0 program, parsing, analysis results in file and screen output
suanfuwenfa
- 实验要求 要求实现语法分析程序的以下功能: 把表达式首先经过词法分析形成二元式记号提供给语法分析程序 如果符合语法要求,形成一个语法树 实验三 算符优先分析 如果出现错误,指出错误的位置和类型 把语法树按照树的前序遍历的形式把所有的结点打印输出 按照某种规则计算出表达式的值-Experimental requirements requirements the parser following features: the expression first formed
SNL_Example
- 递归下降的SNL词法分析和语法分析程序,此法结果单独输出到一个文本中-The SNL recursive descent parser and lexical analysis, this method results in a single output to a text
bianyi-homework
- 编译原理词法分析和语法分析代码. 实验作业. C语言编写.-Compiler theory lexical analysis and parsing code. Lab assignments. C language.
bianyi-keshe
- 编译原理,包括词法分析、语法分析、语义分析、代码生成和报错处理等功能;c++源代码-Compiler theory, including lexical analysis, parsing, semantic analysis, code generation, and error handling functions c++ source code
182839
- Lex与Yacc相关的程序,有对sql的词法分析和语法分析的程序-Lex and Yacc related procedures, there are lexical analysis and syntax analysis of SQL procedures
relytxd-are
- Lex与Yacc相关的程序,有对sql的词法分析和语法分析的程序(Lex and Yacc related procedures, there are lexical analysis and syntax analysis of SQL procedures)
Pascal简易编译器
- 汇编原理课程的简易编译器,包含词法分析和语法分析(A simple compiler for assembly principles)
lex词法分析_上交程序
- 相当完整lex词法分析_上交程序, Lex 快速入门(词法分析和语法分析)(Lex represents Lexical Analyzar, a.Lex file (the Lex file has an extension of.Lex) passed through the lex utility and generates the output files of C, which are later compiled into an executable version of the le