Lex_Yacc_Parser

所属分类:编译器/解释器
开发工具:Visual C++
文件大小:40KB
下载次数:477
上传日期:2007-04-27 16:01:16
上 传 者darksheen
说明:  语法分析器lex和词法分析器yacc的C++语言实现 1.Lex (1)Lex输入文件的解析 (2)正规表达式的解析 (3)一个正规表达式到NFA的转换算法实现 (4)多个NFA的合并 (5)NFA的确定化和最小化算法实现 (6)返回状态与返回内容的对应 2.Yacc (1)Yacc输入文件的解析 (2)上下文无关文法到对应LR(1)文法的下推自动机的构造 (3)LR(1)文法的下推自动机到相应分析表的构造 (4)LR(1)总控程序的构造(查表程序) (5)符号表的构建与相应管理程序 (6)语义动作程序的加入 环境:Visual Studio.NET 2003
(Parser lex and yacc lexical analyzer C language 1.Lex (1) Lex lose into the analytical document (2) Analysis of the formal expression (3) a formal expression of the NFA conversion algorithm (4 ) more than the combined NFA (5) NFA and the determination of the smallest algorithm (6) to return to state and the return of the contents 2.Yacc counterparts (1) Yacc the analytical input file (2) context-free grammar to the corresponding LR (1) grammar pushdown automata Construction (3) LR (1) grammar pushdown automata corresponding to the tectonic analysis table (4) L R (1) General procedures for the control structure (look-up table) (5) Construction of the symbol table with the corresponding management procedures (6) semantic action procedures to the environment : Visual Studio 2003)

文件列表:
编译实验报告\编译原理实验报告.doc (39936, 2007-04-27)
编译实验报告\编译实验Lex部分\Lex.cpp (21266, 2006-04-16)
编译实验报告\编译实验Lex部分\test.txt (2264, 2006-04-16)
编译实验报告\编译实验Lex部分\yylex.cpp (76619, 2006-04-16)
编译实验报告\编译实验Lex部分\yytab.h (961, 2006-04-16)
编译实验报告\编译实验Lex部分\说明.txt (605, 2007-04-27)
编译实验报告\编译实验Yacc部分\example 1\CMinus.l (872, 2006-05-18)
编译实验报告\编译实验Yacc部分\example 1\cminus.yy (1805, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 1\signal_table.txt (1412, 2006-05-18)
编译实验报告\编译实验Yacc部分\example 1\test.txt (195, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 1\yylex.cpp (49185, 2006-05-18)
编译实验报告\编译实验Yacc部分\example 1\yyparse.cpp (15491, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 1\yytab.h (997, 2006-05-18)
编译实验报告\编译实验Yacc部分\example 1\说明.txt (171, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\ambigious.l (390, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\ambigious.yy (198, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\signal_table.txt (403, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\test.txt (29, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\yylex.cpp (2041, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\yyparse.cpp (4723, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\yytab.h (178, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2\说明.txt (160, 2006-05-22)
编译实验报告\编译实验Yacc部分\Yacc.cpp (34997, 2007-04-27)
编译实验报告\编译实验Yacc部分\说明.txt (203, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 1 (0, 2006-05-22)
编译实验报告\编译实验Yacc部分\example 2 (0, 2006-05-22)
编译实验报告\编译实验Lex部分 (0, 2006-04-16)
编译实验报告\编译实验Yacc部分 (0, 2006-05-22)
编译实验报告 (0, 2007-04-27)

近期下载者

相关文件


收藏者