首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值...

词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值...

  • 资源大小:36.51 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: Compiler program

资 源 简 介

词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值在一定区间进行区分(使用if语句来判断),分开来后,对其所在ASCII值区间的不同,给予以不同的属性(比如:系统保留字…),词法分析器完成后要能识别+,-,=等字符。-lexical analyzer on the importation procedures for analysis, keyword, the word reservation system with separate identifier, and a description of their attributes. The establishment of an array, you read the word, the right word ASCII judgment, in ASCII value in a certain area and distinguish between (use to determine if statements), separately, its value lies ASCII range of different, to give a different properties (such as : system retain the word ...), after the completion of a lexical analyzer to identify,-, =, etc. characters.

文 件 列 表

cifenqi
词法分析器
VIP VIP
0.278578s