-
词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的ASCII码进行判断,将在ASCII码值...
词法分析器 对输入的程序进行分析,将关键字,保留字与系统标识符分开,并对其属性进行说明。 建立数组,将单词读入,对单词的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.
- 2022-02-26 09:14:02下载
- 积分:1
-
- 2022-04-22 10:51:22下载
- 积分:1
-
该程序能够实现简单的c语言词法,语法,语义分析。
该程序能够实现简单的c语言词法,语法,语义分析。- This procedure can realize the simple c language morphology,
the grammar, the semantic analysis.
- 2022-01-25 20:08:31下载
- 积分:1
-
程序查找给定图像的图像统计。
Program to find the Image Statistics of the given Image.
- 2022-05-19 14:41:04下载
- 积分:1
-
编译原理的课程设计,if
编译原理的课程设计,if-else条件语句的翻译,包括语法分析和词法分析。-compiler theory of curriculum design, if-else statements for the translation, grammatical analysis and lexical analysis.
- 2022-01-26 15:25:08下载
- 积分:1
-
教你怎样使用VI编辑器,没有解压密码,很不错
教你怎样使用VI编辑器,没有解压密码,很不错-teach you how to use the VI editor, not extracting passwords, very good
- 2022-02-13 08:05:32下载
- 积分:1
-
一个汇编语言编译器源码
一个汇编语言编译器源码- A assembly language compiler source code
- 2023-04-27 11:25:03下载
- 积分:1
-
这是我们学校平时实习的四个内容:词法分析、递归下降子程序、ll1语法分析、lr0语法分析 是我用c++编写的。...
这是我们学校平时实习的四个内容:词法分析、递归下降子程序、ll1语法分析、lr0语法分析 是我用c++编写的。-This our peacetime training schools of the four elements : lexical analysis, recursive decline subroutine, ll1 syntax analysis, lr0 syntax analysis is used c prepared.
- 2023-07-15 19:55:03下载
- 积分:1
-
一个词法分析器程序
一个词法分析器程序- A morphology analyzer procedure
- 2022-05-24 22:06:37下载
- 积分:1
-
TINY+编译器源码
语言表达式的定义
(1) <表达式> ::= <算术表达式>|<逻辑表达式>...
TINY+编译器源码
语言表达式的定义
(1) ::= |
(2) ::= ±|±|
(3) ::= *|/|
(4) ::=
(5) ::= |
(6) ::= or |
(7) ::= and |
(8) ::= |not
(9) ::= | | |
(10) ::= ||=| =-err
- 2023-04-14 01:05:03下载
- 积分:1