文件名称:1
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 3.87mb
- 下载次数:
- 0次
- 提 供 者:
- 孔**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
语法分析是编译程序的核心部分。语法分析的作用是识别由词法分析给出的单词符号序列是否是给定的文法的正确句子。目前语法分析常用的方法右自顶向下分析和自底向上分析两大类。
确定的自顶向下方法,是从文法的开始符号,考虑如何根据当前的输入符号(单词)唯一的确定选用哪个产生式替换相应非终结符往下推导。 LL(1)文法是一种确定的自顶向下的分析方法。
LL(1)的含义是:第一个L表明自顶向下分析从左向右扫描输入串,第二个L表明分析过程中将用最左推导,1表明只需向右看一个符号便可以决定如何推导即选择哪个产生式(即规则)进行推导。-Syntax analysis is the core of the compiler. The role of grammatical analysis is to identify the word given by the lexical analysis of whether a given sequence of symbols of the grammar correct sentences. At present the right syntax analysis method commonly used top-down analysis and bottom-up analysis of two categories.
Determined by top-down approach, starting from the grammar symbols, consider how the current input symbol (word) only determine the choice of productions which replace the corresponding non-terminal symbol derived down. LL (1) grammar is a sure top-down analysis.
LL (1) the meaning is: the first one shows that top-down analysis of L from left to right scanning input string, the second L showed that the analysis process will be the most left-derivation, a show that just the right look can be a symbol deduced that the choice to decide how to produce what type (ie, rules) for derivation.
确定的自顶向下方法,是从文法的开始符号,考虑如何根据当前的输入符号(单词)唯一的确定选用哪个产生式替换相应非终结符往下推导。 LL(1)文法是一种确定的自顶向下的分析方法。
LL(1)的含义是:第一个L表明自顶向下分析从左向右扫描输入串,第二个L表明分析过程中将用最左推导,1表明只需向右看一个符号便可以决定如何推导即选择哪个产生式(即规则)进行推导。-Syntax analysis is the core of the compiler. The role of grammatical analysis is to identify the word given by the lexical analysis of whether a given sequence of symbols of the grammar correct sentences. At present the right syntax analysis method commonly used top-down analysis and bottom-up analysis of two categories.
Determined by top-down approach, starting from the grammar symbols, consider how the current input symbol (word) only determine the choice of productions which replace the corresponding non-terminal symbol derived down. LL (1) grammar is a sure top-down analysis.
LL (1) the meaning is: the first one shows that top-down analysis of L from left to right scanning input string, the second L showed that the analysis process will be the most left-derivation, a show that just the right look can be a symbol deduced that the choice to decide how to produce what type (ie, rules) for derivation.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建文件夹
..........\LL(1)文法分析.ppt
..........\LL1文法
..........\.......\ClassPt.cpp
..........\.......\ClassPt.h
..........\.......\CStack.cpp
..........\.......\CStack.h
..........\.......\Debug
..........\.......\.....\ClassPt.obj
..........\.......\.....\ClassPt.sbr
..........\.......\.....\CStack.obj
..........\.......\.....\CStack.sbr
..........\.......\.....\LL1文法.bsc
..........\.......\.....\LL1文法.ilk
..........\.......\.....\LL1文法.obj
..........\.......\.....\LL1文法.pch
..........\.......\.....\LL1文法.pdb
..........\.......\.....\LL1文法.res
..........\.......\.....\LL1文法.sbr
..........\.......\.....\LL1文法Dlg.obj
..........\.......\.....\LL1文法Dlg.sbr
..........\.......\.....\StdAfx.obj
..........\.......\.....\StdAfx.sbr
..........\.......\.....\vc60.idb
..........\.......\.....\vc60.pdb
..........\.......\LL1文法.APS
..........\.......\LL1文法.clw
..........\.......\LL1文法.cpp
..........\.......\LL1文法.dsp
..........\.......\LL1文法.dsw
..........\.......\LL1文法.h
..........\.......\LL1文法.ncb
..........\.......\LL1文法.opt
..........\.......\LL1文法.plg
..........\.......\LL1文法.rc
..........\.......\LL1文法.sln
..........\.......\LL1文法.suo
..........\.......\LL1文法.vcproj
..........\.......\LL1文法.vcproj.72C3C917FA8D409.小雷.user
..........\.......\LL1文法Dlg.cpp
..........\.......\LL1文法Dlg.h
..........\.......\ReadMe.txt
..........\.......\res
..........\.......\...\default1.bin
..........\.......\...\LL1文法.ico
..........\.......\...\LL1文法.rc2
..........\.......\resource.h
..........\.......\StdAfx.cpp
..........\.......\StdAfx.h
..........\.......\XPStyle.manifest
..........\LL(1)文法分析.ppt
..........\LL1文法
..........\.......\ClassPt.cpp
..........\.......\ClassPt.h
..........\.......\CStack.cpp
..........\.......\CStack.h
..........\.......\Debug
..........\.......\.....\ClassPt.obj
..........\.......\.....\ClassPt.sbr
..........\.......\.....\CStack.obj
..........\.......\.....\CStack.sbr
..........\.......\.....\LL1文法.bsc
..........\.......\.....\LL1文法.ilk
..........\.......\.....\LL1文法.obj
..........\.......\.....\LL1文法.pch
..........\.......\.....\LL1文法.pdb
..........\.......\.....\LL1文法.res
..........\.......\.....\LL1文法.sbr
..........\.......\.....\LL1文法Dlg.obj
..........\.......\.....\LL1文法Dlg.sbr
..........\.......\.....\StdAfx.obj
..........\.......\.....\StdAfx.sbr
..........\.......\.....\vc60.idb
..........\.......\.....\vc60.pdb
..........\.......\LL1文法.APS
..........\.......\LL1文法.clw
..........\.......\LL1文法.cpp
..........\.......\LL1文法.dsp
..........\.......\LL1文法.dsw
..........\.......\LL1文法.h
..........\.......\LL1文法.ncb
..........\.......\LL1文法.opt
..........\.......\LL1文法.plg
..........\.......\LL1文法.rc
..........\.......\LL1文法.sln
..........\.......\LL1文法.suo
..........\.......\LL1文法.vcproj
..........\.......\LL1文法.vcproj.72C3C917FA8D409.小雷.user
..........\.......\LL1文法Dlg.cpp
..........\.......\LL1文法Dlg.h
..........\.......\ReadMe.txt
..........\.......\res
..........\.......\...\default1.bin
..........\.......\...\LL1文法.ico
..........\.......\...\LL1文法.rc2
..........\.......\resource.h
..........\.......\StdAfx.cpp
..........\.......\StdAfx.h
..........\.......\XPStyle.manifest