文件名称:wfp11
介绍说明--下载内容均来自于网络,请自行研究使用
文件名 :test3.c
* 文件描述:预测分析法实现的语法分析器。分析如下文法:
* E->E+T | E-T | T
* T->T*F | T/F |F
* F->(E) | i
* 输入:每行含一个表达式的文本文件(#号结束)。
* 输出:分析成功或不成功信息。
* 创建人:余洪周 <nick19842000.cublog.cn> 2006-12-16
* 版本号:1.0
* 说明 :为了表示的方便采用了如下的所示表示方法:
* A=E B=T
* 非终结符:0=E 1=E 2=T 3=T 4=F
* 终结符 :0=i 1=+ 2=- 3=* 4=/ 5=( 6=) 7=#-File name: test3.c* Document Descr iption: Forecast Analysis parser achieved. Grammar as follows:* E-> E+ T | ET | T* T-> T* F | T/F | F* F-> (E) | i* Input: each line contains an expression of the text file (# its end).* Output: Analysis of the success or otherwise of information.* Created by: Yu Hong Zhou <nick19842000.cublog.cn> 2006-12-16* version number: 1.0* Note: To show the convenience of using the following method as shown:* A = EB = T* non-terminator: 0 = E 1 = E 2 = T 3 = T 4 = F* at the end: 0 = i 1 =+ 2 =- 3 =* 4 =/5 = (6 =) 7 =#
* 文件描述:预测分析法实现的语法分析器。分析如下文法:
* E->E+T | E-T | T
* T->T*F | T/F |F
* F->(E) | i
* 输入:每行含一个表达式的文本文件(#号结束)。
* 输出:分析成功或不成功信息。
* 创建人:余洪周 <nick19842000.cublog.cn> 2006-12-16
* 版本号:1.0
* 说明 :为了表示的方便采用了如下的所示表示方法:
* A=E B=T
* 非终结符:0=E 1=E 2=T 3=T 4=F
* 终结符 :0=i 1=+ 2=- 3=* 4=/ 5=( 6=) 7=#-File name: test3.c* Document Descr iption: Forecast Analysis parser achieved. Grammar as follows:* E-> E+ T | ET | T* T-> T* F | T/F | F* F-> (E) | i* Input: each line contains an expression of the text file (# its end).* Output: Analysis of the success or otherwise of information.* Created by: Yu Hong Zhou <nick19842000.cublog.cn> 2006-12-16* version number: 1.0* Note: To show the convenience of using the following method as shown:* A = EB = T* non-terminator: 0 = E 1 = E 2 = T 3 = T 4 = F* at the end: 0 = i 1 =+ 2 =- 3 =* 4 =/5 = (6 =) 7 =#
(系统自动生成,下载前可以参看下载内容)
下载文件列表
wfp11..c