搜索资源列表
C-bianyi
- 一个完整的关于c-的编译器,包含词法分析和语法分析。-On a complete c-compiler, including lexical analysis and syntax analysis.
antlr-2_7_0
- Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历 -Syntactic and phrase parser in JAVA which can produce JAVA or C
2008620_2636
- 编译原理课程设计,主要包括了词法分析和语法分析还有语义分析中间代码生成 目标代码优化目标代码-bianyiyuanli KESE
SourceDocuments
- 编译原理课程的实习是为一个小型的类C语言(C--)设计并实现一个编译器。 实习总共分为词法分析、语法分析、语义分析和代码生成四个阶段。每个阶段的输出是下一个阶段的输入。前一个阶段为下一个阶段提供输入接口。 建议C++实现。-Flexical analysis for C--.
ansi-c-lex-a-yacc
- 利用Lex & Yacc对anci进行词法和语法分析-Lex & Yacc anci the lexical and syntax analysis
Compiler
- 使用LEX和yacc实现的C—语言的词法分析器和语法分析器,采用的是LALR算法,完整的编译原理实验报告-LEX and yacc use to achieve the C-language lexical analyzer and parser, LALR uses algorithms to compile a complete report of principle experiment
GramAnlis
- 本节主要分析程序的代码结构和代码工程文件的划分。(程序由两个类组成: Scanner类和Parser类,分别为词法分析和语法分析类。-The division of this section of program code structure and code engineering documents. (Program consists of two classes: the Scanner class and Parser class, lexical analysis and parsi
complier_scu
- 编译原理课程设计 LL(1)算法 词法分析和语法分析-complier LL(1)
javacc
- 这是关于javacc的学习心得,以及用java写的词法分析和语法分析。 -This is about javacc learning experience, as well as lexical analysis and parsing written in java.
SANDIZHIMA
- 编译原理三地址码的生成,包括词法和和语法分析等内容-Compilation principle to generate three address code, including lexical and syntax analysis etc.
compiler
- 利用antlr生成的的java文件,能够对c语言四元式进行词法和语法分析-The use antlr generated java file, able to carry four yuan c language lexical and syntax analysis
BY
- 编译原理实验课件以及完整的实验代码,包含词法分析和语法分析的两个小实验代码。-Compiler theory and experiment courseware complete experimental code, including two small experimental code lexical analysis and parsing.
Y
- 采用flex工具进行词法分析并结合yacc工具进行语法分析生成文法编译器 进行了完整的词法、语法分析 初始源文件4个:19210216.l,19210216.y,code.h,table.h, 运行过程: 先写出词法分析*.l文件和语法分析*.y文件。 然后运行CMD,进入DOS下,将目录切换到flex和bison及源码所在目录 1、flex 19210216.l 生成lex.yy.c 2、bison -d 19210216.y 生成1921
compiler
- 这时一个简单的编译器 实现了词法分析和语法分析。-it s a complier chi fa fengxi yu yanfeng xi is done
st_1
- 本章实验为实验一,任务是编写一个程序对使用C 语言书写的源代码进行词法分析和语法分析(C 语言的文法参见附录A),并打印分析结果。实验要求使用词法分析工具GNU Flex和语法分析工具GNU Bison,并使用C语言来完成。-This chapter first experiment experiments, the task is to write a program to use C source c
yufafenxi
- 使用的文法如下: E ? TE ¢ E ¢ ? + TE ¢ | e T ? FT ¢ T ¢ ? * FT ¢ | e F ? (E) | id 对于任意给定的输入串(词法记号流)进行语法分析,通过递归下降方法和非递归预测分析方法来实现(The syntax analysis of any given input string (lexical token stream) is implemented by recursive desc
flex&yacc
- 实现编译原理实验的词法分析和语法分析,最终生成产生式。(The lexical analysis and grammatical analysis of the compiling principle experiment are finally generated.)
yufa
- 词法分析输出的单词基础上进行语法分析,输出相应的语法分析结果和错误信息。(On the basis of the word analysis of the output words, the grammatical analysis is carried out, and the corresponding results of grammatical analysis and error information are output.)
getchar11
- 从缓冲区中读取文字,并作词法和语法分析。(Read text from the buffer ,And the method of writing and the analysis of grammar.)
34717369bianyi
- 用Java来编译的词法分析和语法分析,可以进行很好的功能运作(Lexical and grammatical analysis compiled with Java)