文件名称:namab
介绍说明--下载内容均来自于网络,请自行研究使用
ergydfhgdfhggfhg 一.实验目的
二.实验内容
三、程序简要说明
原 文 : C语言词法分析器的设计与实现
一.实验目的:
1.强化对系统软件综合工程实现能力、规划能力的训练;
2.加强对词法分析原理、方法和基本实现技术的理解;
二.实验内容:
用C语言(或 C++ )作为宿主语言完成:
C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。
三、程序简要说明:
1、属性字说明:
共9种
KEYWORD: 关键字
\"auto\",\"break\",\"case\",\"char\",\"const\",\"continue\",
\"default\",\"do\",\"double\",\"else\",\"enum\",\"extern\",
\"float\",\"for\",\"goto\",\"if\",\"int\",\"long\",\"register\",
\"return\",\"short\",\"signed\",\"sizeof\",\"static\",\"struct\",
\"switch\",\"typedef\",\"union\",\"unsigned\",\"void\",
\"volatile\",\"while\",\"include\",\"define\"
共34个
详见IsKeyWord()函数
NUMBER: 数字
包括十进制整数,八进制整数,二进制整数,十六进制整数
还可返回几种错误
详见IsNumber()函数
CONSTANT: 常量
宏定义标识符,不识别C++关键字const,简单处理一层宏定义。
详见IsDefined()函数
......
关键词 : 计算机 编译原理 c语言 词法分析器-ergydfhg gfhg one. Experiment 2. Experiment 3, procedures brief descr iption of the original : C language lexical analyzer Design and Implementation of a. The experiment : 1. To strengthen the integrated system software engineering, planning capacity of training; 2. Lexical analysis on principle, and basic understanding of the technology; 2. Experiment : C (or C) as the host language completed : C language (ANSI C or Turbo C 2.0) lexical analyzer design and implementation. 3, brief descr iption of procedures : 1, the word attribute : a total of nine species KEYWORD : keyword "auto" "break" and "case", "char", "const", "continue", "default", "do", "double", "else", "enum" "ext
二.实验内容
三、程序简要说明
原 文 : C语言词法分析器的设计与实现
一.实验目的:
1.强化对系统软件综合工程实现能力、规划能力的训练;
2.加强对词法分析原理、方法和基本实现技术的理解;
二.实验内容:
用C语言(或 C++ )作为宿主语言完成:
C语言(ANSI C或turbo C 2.0)词法分析器的设计和实现。
三、程序简要说明:
1、属性字说明:
共9种
KEYWORD: 关键字
\"auto\",\"break\",\"case\",\"char\",\"const\",\"continue\",
\"default\",\"do\",\"double\",\"else\",\"enum\",\"extern\",
\"float\",\"for\",\"goto\",\"if\",\"int\",\"long\",\"register\",
\"return\",\"short\",\"signed\",\"sizeof\",\"static\",\"struct\",
\"switch\",\"typedef\",\"union\",\"unsigned\",\"void\",
\"volatile\",\"while\",\"include\",\"define\"
共34个
详见IsKeyWord()函数
NUMBER: 数字
包括十进制整数,八进制整数,二进制整数,十六进制整数
还可返回几种错误
详见IsNumber()函数
CONSTANT: 常量
宏定义标识符,不识别C++关键字const,简单处理一层宏定义。
详见IsDefined()函数
......
关键词 : 计算机 编译原理 c语言 词法分析器-ergydfhg gfhg one. Experiment 2. Experiment 3, procedures brief descr iption of the original : C language lexical analyzer Design and Implementation of a. The experiment : 1. To strengthen the integrated system software engineering, planning capacity of training; 2. Lexical analysis on principle, and basic understanding of the technology; 2. Experiment : C (or C) as the host language completed : C language (ANSI C or Turbo C 2.0) lexical analyzer design and implementation. 3, brief descr iption of procedures : 1, the word attribute : a total of nine species KEYWORD : keyword "auto" "break" and "case", "char", "const", "continue", "default", "do", "double", "else", "enum" "ext
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 21840282namab.rar 列表 新建 文本文档.txt