- Pi Calculating vector algorithm
- snake 基于μCOS系统ARM9硬件平台的贪吃蛇C语言游戏设计
- Development-of-detailed-AF05pile-hybrid-III-dummy This paper describes a development of the Hybrid III AF05 ile dummy FE model to be used for frontal crash simulations. The precise geometries of the dummy were measured at a pitch of 1.0 mm using X
- dianzimimasuo 微机原理与接口设计 电子密码锁 密码锁在输入密码正确时控制电控锁开启
- SuiteMATLABAlgorithmsIA Several codes of algorithms IA for implementations and tests
- jdk-7-linux-x64.tar #tar
文件名称:Syntax-analysis
-
所属分类:
- 标签属性:
- 上传时间:2013-12-18
-
文件大小:1.48kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
采用递归下降语法分析方法对输入的字符串进行语法分析,实现对词法程序提供的单词序列的语法检查和结构分析
待分析的Traning语言的语法用扩充的BN表示:
1.<程序>::=function<语句串>endfunc
2.<语句串>::=<语句>{ <语句>}
3.<语句>::=<赋值语句>
4.<赋值语句>::=ID=<表达式>
5.<表达式>::=<项>{+<项>|-<项>}
6.<项>::=<因子>{*<因子>|/<因子>}
7.<因子>::=ID|NUM|<表达式>-A string with the recursive descent parsing method for input of syntax analysis, syntax checking and structure analysis of lexical word sequence of the program
The analysis of the Traning language grammar represented by extended BN:
The 1.< program >:: =function< statement string >endfunc
The 2.< statement string >:: =< statement >{ < statement >}
The 3.< statement >:: =< assignment statement.
4.< assignment statement >:: =ID=< expression.
5.< expression:: =< item >{+< item > >|-< item >}
6.< >:: =< factor >{*< factor >|/< factor >}
7.<:: =ID|NUM|< expression factor > >
待分析的Traning语言的语法用扩充的BN表示:
1.<程序>::=function<语句串>endfunc
2.<语句串>::=<语句>{ <语句>}
3.<语句>::=<赋值语句>
4.<赋值语句>::=ID=<表达式>
5.<表达式>::=<项>{+<项>|-<项>}
6.<项>::=<因子>{*<因子>|/<因子>}
7.<因子>::=ID|NUM|<表达式>-A string with the recursive descent parsing method for input of syntax analysis, syntax checking and structure analysis of lexical word sequence of the program
The analysis of the Traning language grammar represented by extended BN:
The 1.< program >:: =function< statement string >endfunc
The 2.< statement string >:: =< statement >{ < statement >}
The 3.< statement >:: =< assignment statement.
4.< assignment statement >:: =ID=< expression.
5.< expression:: =< item >{+< item > >|-< item >}
6.< >:: =< factor >{*< factor >|/< factor >}
7.<:: =ID|NUM|< expression factor > >
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Syntax analysis.cpp
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.