- 图像分屏effect 该程序可以实现图像浏览的效果切换变化 是用java编写的
- VFW-Framegrabberclass 一个摄像头视频采集程序.我仔细修改并测试过
- exam This program is written in prolog and it decomposes a word in syllabus
- a.c 输入一个包含三个数据的链表
- LinearLoadFlow_Unbalanced Unbalanced system of distribution system
- pmodkypd_demo_verilog 对PmodKYPD矩阵键盘实现检测 输出给数码管显示(robust PmodKYPD source code output towards digital)
文件名称:lex-and-yacc
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:105.42kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。
建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。
对输入的程序语句进行分析。对每个非终结点定义单个函数,定义了它的后继节点。然后用一个构造来的函数,使定义的后继节点符合语法,否则报错。
-Analysis of the input process, the keywords, reserved words separate with the system identifier, and its properties are described. Create an array, read the word, the word of the ASCII code to judge the value in the ASCII code to distinguish a certain interval (using the if statement to determine), separately, the ASCII value of their range where different, giving different attributes (such as: the system of reserved words ...) After the lexical analyzer must be able to identify the+,-,= other characters. The input of the program statements for analysis. Defined for each single function of non-end point, defined its successor nodes. Then use a constructor to the function, so that subsequent nodes meet the definition of the syntax, or an error.
建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。
对输入的程序语句进行分析。对每个非终结点定义单个函数,定义了它的后继节点。然后用一个构造来的函数,使定义的后继节点符合语法,否则报错。
-Analysis of the input process, the keywords, reserved words separate with the system identifier, and its properties are described. Create an array, read the word, the word of the ASCII code to judge the value in the ASCII code to distinguish a certain interval (using the if statement to determine), separately, the ASCII value of their range where different, giving different attributes (such as: the system of reserved words ...) After the lexical analyzer must be able to identify the+,-,= other characters. The input of the program statements for analysis. Defined for each single function of non-end point, defined its successor nodes. Then use a constructor to the function, so that subsequent nodes meet the definition of the syntax, or an error.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
词法分析器 语法分析器/cifa.EXE
词法分析器 语法分析器/FUN.CPP
词法分析器 语法分析器/yufa.cpp
词法分析器 语法分析器/yufa.EXE
词法分析器 语法分析器/~$分析器、语法分析器试验报告.doc
词法分析器 语法分析器/cifa.cpp
词法分析器 语法分析器/编译原理课程设计报告.doc
词法分析器 语法分析器
词法分析器 语法分析器/FUN.CPP
词法分析器 语法分析器/yufa.cpp
词法分析器 语法分析器/yufa.EXE
词法分析器 语法分析器/~$分析器、语法分析器试验报告.doc
词法分析器 语法分析器/cifa.cpp
词法分析器 语法分析器/编译原理课程设计报告.doc
词法分析器 语法分析器
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。