文件名称:lx
介绍说明--下载内容均来自于网络,请自行研究使用
设计目的 加深对语法分析程序的任务及其工作原理的理解;掌握语法分析程序的实现方法;掌握简单语言的状态转换图表示形式极其识别程序的构造。 设计任务 编写对简单语言进行语法分析的词法分析程序。并对输入串for I=1to 20 do {x:=x+2 y:=y*(2+c) }} 进行语法分析,要求如下: 1。识别其中的关键字,标识符,常数,运算符和界符。2,对其中的数字注明其值和类型 3。将识别的结果填入表中并输出。-designed to deepen the syntax analysis procedures and the task of the working principle of understanding; Master syntax analysis of the implementation process; In simple language and the state transition map form extremely Construction of the identification procedures. Design tasks to prepare simple language syntax analysis of lexical analysis procedure. Also input strings for I = 1 to 20 do (x : y = x 2 : = y * (2 c))) syntax analysis, as follows : 1. The identification of keywords, identifiers, constant, Operators and community website. Two of the figures which indicate its value and type 3. Recognition will fill in the results table and outputs.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 565634lx.rar 列表 lx.txt