Description: 一个用c++编译的词法分析器,主要是针对c++语言的。本人觉得学习性很好。有什么建议请与我联系 qq:23318796-a compiler with the lexical analyzer is targeted mainly c language. I feel that learning the good. Any suggestions, please contact me qq : 23318796 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:
这是用VC++6.0编写的一个简单的c语言的词法分析器,个人感觉良好,简单又实用。-This is the VC 6.0 of a simple preparation of the c language lexical analyzer, personal feel good, simple and functional. Platform: |
Size: 6144 |
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: 一个C语言词法分析器,一般本科生课程设计都用得上-a C language lexical analyzer, the general undergraduate curriculum design are useful Platform: |
Size: 222208 |
Author:蔡凯伟 |
Hits:
Description: C语言词法分析器
实现简单的词法分析,是编译原理的课程设计之一-C language lexical analyzer to achieve a simple lexical analysis is compiled one of the principle of curriculum design Platform: |
Size: 240640 |
Author:kanjian666 |
Hits:
Description: 使用LEX和yacc实现的C—语言的词法分析器和语法分析器,采用的是LALR算法,完整的编译原理实验报告-LEX and yacc use to achieve the C-language lexical analyzer and parser, LALR uses algorithms to compile a complete report of principle experiment Platform: |
Size: 68608 |
Author:童华兵 |
Hits:
Description: C语言词法分析器,用于实现C语言的词法分析,编写语言为C。-C language lexical analyzer, used to implement the C language, lexical analysis, the preparation of language is C. Platform: |
Size: 2048 |
Author:ML |
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 编写,可以作为编译原理的实验报告源代码-A useful C Prepared Lexical Analyzer , developed with c language. Very practical, and can be used as a reference experiment report
Platform: |
Size: 1024 |
Author:吕华荣 |
Hits:
Description: 此代码是用eclipse作为开发环境的c语言词法分析器,编译器开发的第一步。-This code is c language lexical analyzer using eclipse as a development environment, the first step in the development of the compiler. Platform: |
Size: 6144 |
Author:李卫军 |
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:
Description: JAVA编写的《编译原理》C语言词法分析器-JAVA prepared by the " compiler theory" C language lexical analyzer Platform: |
Size: 6065152 |
Author:xiahailong |
Hits: