搜索资源列表
Soft20060210105922892
- 这是学《编译原理》时的上机实验。可实现对C语言的词法分析,关键字32个,包含了C的绝大部分运算、限界符,主要是对文件进行读、写操作,节省内存消耗,自以为是一个不错的词法分析程序。运行环境为VC++6.0。-This is the time for "compiler theory," the experiment on the plane. To be able to achieve C language lexical analysis, keyword 32, C con
word-analysis
- 词法分析程序。可实现对C语言的词法分析,关键字32个,包含了C的绝大部分运算、限界符,主要是对文件进行读、写操作,节省内存消耗,是一个不错的词法分析程序。-lexical analysis procedure. To be able to achieve C language lexical analysis, keyword 32, C contains the majority of operations Bound website. principal of the document to
LexicalAnalyzer
- Pascal源程序的词法分析器 Pascal有35个关键字,编号从1-35。 标识符编号为36并且只支持“{}”注释 标识符和常数的长度不得多于120个字符 ASCII码从39-47,58-62的界符,编号等于它们的ASCII码其余界符编号:<=48 <>49 >=50 :=51 ..52 ^53 [54 ]55 {56 }57 程序主要是在文件中进行的,主要是比较,读和写的操作。 Keyword.txt存放的是Pascal关键字,用来比较之
Lexical-analysis
- 实现词法分析 输入为一个写有字符串的txt文件。 程序读入txt文件,并进行操作。 -Lexical analysis to enter into a written string txt file. The program reads the txt file, and operation.