文件名称:NBuilder-Lexical
- 所属分类:
- 编译器/词法分析
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 20.2mb
- 下载次数:
- 0次
- 提 供 者:
- 杨*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
用MFC实现的C语言词法分析器,是学习编译原理的不错的参考资料,本程序用VS2010编写,此词法分析程序可分析出C语言中:
标识符(以字母或下划线开头,后面可以是数字字母或下划线)
字符串常量
字符常量
整数常量
普通实型
有+/-科学记数
无+/-科学记数
注释说明,还不能处理预处理命令33种运算符说明:,() [] .在界符中有,这里出 , ? : sizeof 也没给出11种分界符32种关键字程序使用转换表设计,运行速度快,本人还对每个能识别的符号进行了编号。本程序用VS2010 MFC 设计的,欢迎大家下载分享-A C language lexical analyzer, is a good learning compiler theory of reference, write the program with VS2010, the lexical analysis process can be analyzed in C:
Identifier (a letter or underscore, followed can be alphanumeric or an underscore)
String constants
Character constants
Integer constant
General Real
With+ /- scientific notation
No+ /- scientific notation
Notes, can not handle pre-order 33 kinds of operators Descr iption:, () [] operator in the world, where a,?: Sizeof did not give 11 kinds of procedure delimiter 32 kinds of keyword use the conversion table design , run fast, I also can identify the symbols for each numbered. This program designed with the VS2010 MFC, welcome to download share. . . .
标识符(以字母或下划线开头,后面可以是数字字母或下划线)
字符串常量
字符常量
整数常量
普通实型
有+/-科学记数
无+/-科学记数
注释说明,还不能处理预处理命令33种运算符说明:,() [] .在界符中有,这里出 , ? : sizeof 也没给出11种分界符32种关键字程序使用转换表设计,运行速度快,本人还对每个能识别的符号进行了编号。本程序用VS2010 MFC 设计的,欢迎大家下载分享-A C language lexical analyzer, is a good learning compiler theory of reference, write the program with VS2010, the lexical analysis process can be analyzed in C:
Identifier (a letter or underscore, followed can be alphanumeric or an underscore)
String constants
Character constants
Integer constant
General Real
With+ /- scientific notation
No+ /- scientific notation
Notes, can not handle pre-order 33 kinds of operators Descr iption:, () [] operator in the world, where a,?: Sizeof did not give 11 kinds of procedure delimiter 32 kinds of keyword use the conversion table design , run fast, I also can identify the symbols for each numbered. This program designed with the VS2010 MFC, welcome to download share. . . .
(系统自动生成,下载前可以参看下载内容)
下载文件列表
NBuilder
........\Debug
........\ipch
........\....\nbuilder-50343034
........\....\.................\nbuilder-ce9121.ipch
........\NBuilder
........\NBuilder.sdf
........\NBuilder.sln
........\NBuilder.suo
........\........\Debug
........\........\.....\NBuilder.Build.CppClean.log
........\........\.....\NBuilder.log
........\........\Extern.cpp
........\........\Extern.h
........\........\Lexical.cpp
........\........\Lexical.h
........\........\MainFrm.cpp
........\........\MainFrm.h
........\........\NBuilder.aps
........\........\NBuilder.cpp
........\........\NBuilder.h
........\........\NBuilder.rc
........\........\NBuilder.reg
........\........\NBuilder.vcxproj
........\........\NBuilder.vcxproj.filters
........\........\NBuilder.vcxproj.user
........\........\NBuilderDoc.cpp
........\........\NBuilderDoc.h
........\........\NBuilderView.cpp
........\........\NBuilderView.h
........\........\OutputWnd.cpp
........\........\OutputWnd.h
........\........\ReadMe.txt
........\........\res
........\........\resource.h
........\........\...\NBuilder.ico
........\........\...\NBuilder.rc2
........\........\...\NBuilderDoc.ico
........\........\...\output_wnd.ico
........\........\...\output_wnd_hc.ico
........\........\...\Toolbar.bmp
........\........\...\Toolbar256.bmp
........\........\stdafx.cpp
........\........\stdafx.h
........\........\targetver.h
........\........\UserImages.bmp
........\Debug
........\ipch
........\....\nbuilder-50343034
........\....\.................\nbuilder-ce9121.ipch
........\NBuilder
........\NBuilder.sdf
........\NBuilder.sln
........\NBuilder.suo
........\........\Debug
........\........\.....\NBuilder.Build.CppClean.log
........\........\.....\NBuilder.log
........\........\Extern.cpp
........\........\Extern.h
........\........\Lexical.cpp
........\........\Lexical.h
........\........\MainFrm.cpp
........\........\MainFrm.h
........\........\NBuilder.aps
........\........\NBuilder.cpp
........\........\NBuilder.h
........\........\NBuilder.rc
........\........\NBuilder.reg
........\........\NBuilder.vcxproj
........\........\NBuilder.vcxproj.filters
........\........\NBuilder.vcxproj.user
........\........\NBuilderDoc.cpp
........\........\NBuilderDoc.h
........\........\NBuilderView.cpp
........\........\NBuilderView.h
........\........\OutputWnd.cpp
........\........\OutputWnd.h
........\........\ReadMe.txt
........\........\res
........\........\resource.h
........\........\...\NBuilder.ico
........\........\...\NBuilder.rc2
........\........\...\NBuilderDoc.ico
........\........\...\output_wnd.ico
........\........\...\output_wnd_hc.ico
........\........\...\Toolbar.bmp
........\........\...\Toolbar256.bmp
........\........\stdafx.cpp
........\........\stdafx.h
........\........\targetver.h
........\........\UserImages.bmp