- haiyiERP20 海益ERP数据管理系统2.0源码 这套系统主要是根据ERP工作流程所写的一个系统
- hzzpy 在我开发网页账号自动生成的时候
- MV-S108692-00A.pdf 一个关于马尾的电子文档
- dianzimimasuo 微机原理与接口设计 电子密码锁 密码锁在输入密码正确时控制电控锁开启
- fpa code for methuristic algorithm flower pollination algorithm
- mipcms Content management system is a free open source and development based on Baidu mobile accelerator MIP engine based on the information
文件名称: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.