suanfuyiuxian

所属分类:Windows编程
开发工具:C/C++
文件大小:54KB
下载次数:65
上传日期:2007-04-25 16:08:31
上 传 者yukun
说明:   算符优先 根据形式化算法,编制程序实现一个算符优先分析器,能对常见的算术表达式语句进行分析。 要求实现以下功能: 1) 组织算术表达式的输入; 2) 组织算符优先关系表或者优先函数的输入; 3) 若输入的符号串是一个算术表达式语句,则输出一个分析树骨架(既每一步规约用到的最左素短语),否则输出一个错误信息。
(operator priorities under formal algorithm, the development process of achieving a priority analyzer operator, to the right common arithmetic expressions statement for analysis. Call for the following functions : a) Organization arithmetic expression input; 2) Organizational operator precedence relations priority table or function input; 3) if the input string is a symbol arithmetic expression statement, Output is a skeleton tree analysis (both used in every step of the Statute of the most left-phrase), or output an error message.)

文件列表:
实验3:算符优先分析器设计.doc (94720, 2006-01-08)

近期下载者

相关文件


收藏者