Description: 词法分析程序。用于词法分析器的制作与应用。-lexical analysis procedure. Lexical analyzer for the production and application. Platform: |
Size: 15605 |
Author:wangxiuxiu |
Hits:
Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language
function:
1)Extract all lexems from C Language source code
2)Examine the syntax errors of the program and provide the line number of error line and note
3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file. Platform: |
Size: 192513 |
Author:张永胜 |
Hits:
Description: 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language
function:
1)Extract all lexems from C Language source code
2)Examine the syntax errors of the program and provide the line number of error line and note
3)preprocessed program file of the lexical analyzer source code of the analyzer(Lex.c), test file(test.c),status transformation chart,excutable program. Output: Error-recording file, symbol table file and identifier file. Platform: |
Size: 192512 |
Author:张永胜 |
Hits:
Description: 国防工业出版社的编译原理的词法分析器的编制的c语言原程序-defense industry publishers compile the lexical analyzer principle the establishment of procedures for the original language c Platform: |
Size: 15360 |
Author:秦汉 |
Hits:
Description: .X语言词法分析程序的设计 目的:设计、编制、调制一个具体的词法分析程序,加深对词法分析原理的理解。 要求: (1)通过理解正规式、有限自动机原理,根据下面的X语言的说明编制一个X语言的词法分析程序。 (2)提交实验报告,报告内容如下: 目的要求、DFA、程序清单(带注释)、测试样例及结果-. X language lexical analysis procedure is designed to: design, preparation, modulation of the lexical analysis of a specific procedure, deepen understanding of the principles lexical analysis. Requirements: (1) through the understanding of the formal ceremony, finite automata theory, in accordance with the following X-language description of the preparation of an X language lexical analysis procedures. (2) submitted to the experiment report, which reads as follows: The purpose of the requirements, DFA, the list of procedures (with Notes), the test sample and the results Platform: |
Size: 33792 |
Author:萧飞 |
Hits:
Description: 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 Platform: |
Size: 1024 |
Author:天空 |
Hits:
Description: 词法分析器运用软件
词法分析是编译的第一个阶段,它的主要任务是从左到右逐个字符地对源程序进行扫描,产生一个个单词序列,用以语法分析-lexical analyzer used lexical analysis software is a compiler of the first stage, its main task is to whatever individual characters to the source scan generated a sequence of words, for the syntax analysis Platform: |
Size: 36864 |
Author:李坤 |
Hits:
Description: 词法分析程序。用于词法分析器的制作与应用。-lexical analysis procedure. Lexical analyzer for the production and application. Platform: |
Size: 195584 |
Author:wangxiuxiu |
Hits:
Description: 本人写的简单C词法分析器,能基本实现C词法分析。可以供要求不是很严格的毕业设计。-I wrote a simple C lexical analyzer that can realize the basic lexical analysis of C. Can not very strict requirements for the graduation project. Platform: |
Size: 12288 |
Author:chenyu3k |
Hits:
Description: 这是一个使用了LEX所编写的Simple语言的词法分析器。Simple语言的定义说明请看附件。这个LEX的源代码可以通过Parser Generator 2来转化成为h文件跟cpp文件。由于编译这两个文件需要使用到Parser Generator 2的C++库,所以就只上传了LEX的源代码,谁感兴趣的可以自己通过Parser Generator 2来转化。至于UNIX下面的LEX工具如果想要转化的话需要修改其主程序,另外需要将LEX源代码之中有关C++语言的表达形式修改成为相应的C语言的表现形式才行之。总体这样子。-This is one written by using the LEX lexical analyzer Simple language. Simple definition of the language description see annex. The LEX source code can be transformed into Parser Generator 2 to h file with the cpp file. As the compilation of these two files need to use the Parser Generator 2 in C++ library, so we just uploaded the source code for LEX, who may be of interest to themselves through Parser Generator 2 to transform. As for the UNIX tools LEX below if you want converted, then need to modify its main program, another will need to LEX source code into the C++ language, forms of expression changes as the corresponding C-language expressions of Caixing. Overall like this. Platform: |
Size: 182272 |
Author:林宇浩 |
Hits:
Description: C语言词法分析器,本C++代码实现了对C语言的分析。是C语言的解释器。-C language lexical analyzer, the C++ code analysis for C language. Is a C language interpreter. Platform: |
Size: 3063808 |
Author:fi |
Hits:
Description: 使用C#编写的一个简易的C语言词法分析器,对汇编语言的一个活学活用的例子,供大家参考学习。-英语中文德语检测语言
中文(简体)英语日语
翻译文字或网页
使用C#编写的一个简易的C语言词法分析器,对汇编语言的一个活学活用的例子,供大家参考学习。
请键入文字或网站地址,或者上传文档。
取消
Shǐyòng C#biānxiě de yīgè jiǎnyì de C yǔyán cífǎ fēnxī qì, duì huìbiān yǔyán de yīgè huó xué huóyòng de lìzi, gōng dàjiā cānkǎo xuéxí.Use C# to write a simple C language lexical analyzer, an example of the assembly language of a live learning, for your reference study. Platform: |
Size: 115712 |
Author:wangbin |
Hits: