namab

所属分类:编译器/解释器
开发工具:Visual C++
文件大小:1KB
下载次数:53
上传日期:2005-12-28 22:23:11
上 传 者yinjiangy
说明:  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 description 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 description 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)

文件列表:
新建 文本文档.txt (1225, 2005-12-28)

近期下载者

相关文件


收藏者