详细说明:语法分析器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
近期下载过的用户:
张辉 李宽 robert 李惠允 chanfangliang lihongda 峰 灰雪 gyldwj cbef 罗克平 屠理峰 xinyuanwo tt zhangkeze 青铜 [查看上载者尤冉的更多信息]
相关搜索:
yacc 语法分析器 yacc c++ lex 词法分析 analysis "yytab.h" lex 词法分析实验报告 lex语法 符号表 正规表达式 下推自动机 lr lr(1) lexseu LR 分析器 Lex输入文件的解析 lex Lex_Yacc_Parse LR parser lex词法分析器 利用lex构建词法分析器 源码 c语言lex yacc下载 自动机 自动 分析表 lr lex_yacc lex yacc lex 词法分析器 词法分析器 语法分析器 上下文无关文法 yacc
[编译原理词法分析实验报告.rar] - 一个编译原理词法分析的实验报告
[yacc1824_ref_951.rar] - yacc说明及使用文档 yacc(Yet Another Compiler Compiler),是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。yacc生成的编译器主要是用C語言寫成的语法解析器(Parser),需要与词法解析器lex一起使用,再把兩部份產生出來的C程序一併
[pragma_detail.rar] - pragma预处理指令详解,pragma指令对每个编译器给出了一个方法,
[词法语法分析器——c.rar] - 一个C语言实现的词法分析器和语法分析器。仅供大家参考。
[521178934765lr(1).rar] - PLO编译器 vc++编写界面美观 人性化 可用与分析研究
[lex23.rar] - lex语法分析器,学习编译原理的人可以参考学习
[119128633LRyufafenxi.rar] - 编译原理课程设计,希望大家喜欢,还附加报告哦
[MEIPING.rar] - 在C下写的一个用于C程序的词法分析的小工具
[myparser.rar] - Tiny 语言的Parser Generator 2 语法分析器
[源代码111.rar] - 一个很全的编译器程序,有各种文法的代码,各种方法都分开写的
[yacc1824_ref_951.rar] - yacc说明及使用文档 yacc(Yet Another Compiler Compiler),是Unix/Linux上一个用来生成编译器的编译器(编译器代码生成器)。yacc生成的编译器主要是用C語言寫成的语法解析器(Parser),需要与词法解析器lex一起使用,再把兩部份產生出來的C程序一併
[pragma_detail.rar] - pragma预处理指令详解,pragma指令对每个编译器给出了一个方法,
[词法语法分析器——c.rar] - 一个C语言实现的词法分析器和语法分析器。仅供大家参考。
[521178934765lr(1).rar] - PLO编译器 vc++编写界面美观 人性化 可用与分析研究
[lex23.rar] - lex语法分析器,学习编译原理的人可以参考学习
[119128633LRyufafenxi.rar] - 编译原理课程设计,希望大家喜欢,还附加报告哦
[MEIPING.rar] - 在C下写的一个用于C程序的词法分析的小工具
[myparser.rar] - Tiny 语言的Parser Generator 2 语法分析器
[源代码111.rar] - 一个很全的编译器程序,有各种文法的代码,各种方法都分开写的
文件列表(点击判断是否您需要的文件):
编译实验报告
............\编译原理实验报告.doc
............\编译实验Lex部分
............\...............\Lex.cpp
............\...............\test.txt
............\...............\yylex.cpp
............\...............\yytab.h
............\...............\说明.txt
............\编译实验Yacc部分
............\................\example 1
............\................\.........\CMinus.l
............\................\.........\cminus.yy
............\................\.........\signal_table.txt
............\................\.........\test.txt
............\................\.........\yylex.cpp
............\................\.........\yyparse.cpp
............\................\.........\yytab.h
............\................\.........\说明.txt
............\................\example 2
............\................\.........\ambigious.l
............\................\.........\signal_table.txt
............\................\.........\test.txt
............\................\.........\yylex.cpp
............\................\.........\yyparse.cpp
............\................\.........\说明.txt
............\................\Yacc.cpp
............\................\说明.txt
编译实验报告
............\编译原理实验报告.doc
............\编译实验Lex部分
............\...............\Lex.cpp
............\...............\test.txt
............\...............\yylex.cpp
............\...............\yytab.h
............\...............\说明.txt
............\编译实验Yacc部分
............\................\example 1
............\................\.........\CMinus.l
............\................\.........\cminus.yy
............\................\.........\signal_table.txt
............\................\.........\test.txt
............\................\.........\yylex.cpp
............\................\.........\yyparse.cpp
............\................\.........\yytab.h
............\................\.........\说明.txt
............\................\example 2
............\................\.........\ambigious.l
............\................\.........\signal_table.txt
............\................\.........\test.txt
............\................\.........\yylex.cpp
............\................\.........\yyparse.cpp
............\................\.........\说明.txt
............\................\Yacc.cpp
............\................\说明.txt