搜索资源列表
bian-yi-yuan-li-kechengsheji
- 编译原理课程设计:建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“输入串分析成功”,否则输出“输入串语法错误”。-Principles of Course Design Compiler: A Grammar and LL (1) of the table that the data structure, design and implement the corresponding pr
WordAnalysis
- 词法分析器的源代码 代码实现了词法分析的详细过程-The codes of word s analysis,the compilier technology It relaise the fuction of word s analysis,the compilier technology
ls
- 词法分析器,用文件输入,然后又以文件输出,能完成简单的词法分析。-failed to translate
Lexer
- 用visual c++实现的编译原理 词法分析器,能对C语言源码 机型词法分析-With visual c++ implementation of compiler theory Lexical analyzer, capable of C language source Lexical analysis model
token
- 简单词法分析 从文件中读取要编译的文件 输出结果到输出文件中,程序中的输入输出文件需要更改名后方可使用-token
lexer
- 这是一个java写的java语言词法分析器,实现了简单的词法分析-This is a java written in java language lexical analyzer to achieve a simple lexical analysis
tiny_exe
- tiny简单语言语法分析能实现词法分析语法分析功能,生成语法树-tiny simple language parsing to achieve lexical analysis parser function to generate syntax tree
C
- C++几种类型记号的词法分析,自己做的不完美,随便上传-C++ lexical analysis of several types of marks
javaCifafenxi
- 用java实现的java词法分析器。这个仅仅实现了词法分析-Implemented with java java lexer. This is only achieved the lexical analysis
Lexical_Analysis
- 设计并实现C语言词法分析程序。要求如下: 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号。 可以识别并读取源程序中的注释。 可以统计源程序中的语句行数,单词个数和字符个数,其中标点和空格不计算为单词,并输出统计结果。 检查源程序中存在的错误,并可以报告错误所在的行列位置。 发现源程序中存在的错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理,可检查并报告源程序中存在的所有错误。 采用C/C++作为实现语言,手工编
bianyi
- 简单的编译实验,实现对代码进行词法分析,语法分析,以及语义分析等。希望对各位有用。-Simple compilation test, the code to achieve lexical analysis, syntax analysis, and semantic analysis. You want to be useful.
bianyi
- 1、设计题目:词法分析器的设计。 2、设计要求: 1、 使用任何一种编程语言编制一个词法分析程序。 2、 该程序能够识别的单词有5类: (1) 关键字:"long", "float", "static", "char", "short", "switch", "int", "const", "if", "then", "else", "for", "while", "break"。 (2) 常数:任何整型常数 (3) 标识符:字母打头的字母数字串。 <标识符&
GrammarAnalysis
- 实现对词法分析程序所提供的单词序列的语法检查和结构分析-Implementation of the lexical analysis program provided by the word sequence and structure analysis of the syntax check
MorphologyAnalysis
- 对一个简单语言的子集编制一个一遍扫描的编译程序 实现词法分析-A simple preparation of a language subset compiler scanned again achieve lexical analysis
dzcc
- 这是我毕设的一部分,毕设做的是C语言编译器,这部分是编译器的词法分析和语法分析。开发平台Visual Stuido 2010。语法分析仅仅是分析语法对不对,如果对会输出“OK”,反之输出“ERROR”词法分析完会把单词和类型列出,类型是我自己定义的枚举值。还有就是我定义了源程序中定义和生命函数时,如果没有参数必须加上"void"参数,否则报错。例如 void main(void){}-This is my part of the my graduation design.My graduatio
grammar_analyzer
- 编译原理的词法分析与语法分析,纯C语言写的-Compiler theory of lexical analysis and syntax analysis, written in pure C
scan
- 本程序实现了《编译原理及实践》附录A中C-的词法分析-This procedure achieved a " compiler theory and practice" in Appendix A lexical analysis of C-
bianyiyuanli2008
- 编译原理词法分析,语法分析功能实现,能够显示出各种文法的功能-Compiler theory lexical analysis, syntax analysis functions, and they can show a variety of grammatical features
Translate
- 编译原理的词法分析部分 是用java编译c的 希望大家能喜欢-Compiler theory of lexical analysis is to use java compiler c' s hope that we can enjoy
DoWhileRecursiveDescent
- 设计一个DO-WHILE循环语句的词法﹑语法及语义分析程序,语法分析选择递归下降法,采用用语法制导翻译输出中间代码四元式。通过设计、编制、调试一个DO-WHILE循环语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。-Design a DO-WHILE loop syntax and semantics of lexical analysis programs ﹑, recursive descent parsing options, use