登录
首页 » Compiler program » 用vc编写的一个词法分析源程序,可以对输入的C语言语句进行种别分类...

用vc编写的一个词法分析源程序,可以对输入的C语言语句进行种别分类...

于 2023-03-03 发布 文件大小:1.71 kB
0 158
下载积分: 2 下载次数: 1

代码说明:

用vc编写的一个词法分析源程序,可以对输入的C语言语句进行种别分类-vc prepared with a lexical analysis of the source, can be imported to the C language statements for other species classification

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式...
    编译原理课程设计,输入布尔表达式,然后有系统自动转换为逆波兰四元式-compiler theory of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
    2022-02-26 06:19:56下载
    积分:1
  • 词法分析的程序。核心函数是一个状态切换的函数 CAjaxParserDlg::Route。状态切换函数解根据一个 DFA 来对输入的文本进行分析。也就是说,如果
    词法分析的程序。核心函数是一个状态切换的函数 CAjaxParserDlg::Route。状态切换函数解根据一个 DFA 来对输入的文本进行分析。也就是说,如果你做一个新的DFA,就能分析新的词法。 DFA 的初始化在CAjaxParserDlg::OnInitDialog。- Lexical analysis procedure. The core function is condition cut function CAjaxParserDlg::Route. The condition cut function solution acts according to DFA to come to the input text to carry on the analysis. In other words, if you make new DFA, can analyze the new morphology. DFA initialization in CAjaxParserDlg::OnInitDialog.
    2022-03-29 21:14:24下载
    积分:1
  • 由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面:   不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
    由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面:   不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。   对于float数据类型的支持,直到语义分析都是正常的,也能生成相应的汇编代码,但由于我们对8086/8088指令系统本身了解不足,这样的汇编代码将只能做到含义上完全忠实于源程序,但不能运行。   对于局部变量的支持,则于时间紧迫,所有的局部变量全被处理成静态变量。使递归函数不能得到正确的结果。    对于函数调用语句,不进行参数匹配检查,如果参数数量不对,也将能通过编译,但运行时将产生非法操作。   对&& !等逻辑操作在最后生成代码时处理比较粗燥,生成的代码在逻辑复杂时将不能保证运行正常。   接下来有一些,不能说是缺陷,但必须说明的问题:   对于main函数,没有参数表,通回类型也必须为void,但如果写上参数表及其他返回类型也能编译通过,生成代码时将简单地忽略,不影响最后的代码的运行。   对于while,for,if语句,其语句体不管是一句还是多句,必须都有{}围起来。这跟C语言中若是一句则可省略{}不同。-Due to the time constraints and lack of preparation in advance, the compiler finalized when exposed numerous problems and shortcomings, mainly in the following aspects : no support for array data type, which is grammar analyzer design of an omission, because of the time, the final could only have scanners do phase customs array deleted. For float data types of support until semantic analysis is normal, and can generate the corresponding assembly code, but because of our 808
    2022-01-26 16:03:11下载
    积分:1
  • 用C++语言在VC6.0环境下编写的小型c语言编译器,功能已经验证。...
    用C++语言在VC6.0环境下编写的小型c语言编译器,功能已经验证。-Using C++ language environment in the preparation of VC6.0 small c language compiler, the functions of authentication.
    2022-10-12 12:45:03下载
    积分:1
  • 编译原理实验中的工具BISON,可以再windows或者DOS下使用
    编译原理实验中的工具BISON,可以再windows或者DOS下使用-Compilation Principle Experiment tools BISON, can be used under windows or DOS
    2023-08-09 12:55:03下载
    积分:1
  • tiny 编译器
    tiny 编译器-tiny compiler
    2022-06-18 04:13:54下载
    积分:1
  • 个人财政支出管理源代码及关键源代码(清华大学出版社)
    个人财政支出管理源代码及关键源代码(清华大学出版社)-Personal financial expenditure management and key source code source code (Tsinghua University Press)
    2022-06-29 11:13:28下载
    积分:1
  • VC做的语法分析程序
    VC做的语法分析程序-VC does grammar analysis program
    2022-07-26 18:45:03下载
    积分:1
  • C编译器源代码(超级牛b)
    C编译器源代码(超级牛b)-C compiler source code (super cow b)
    2022-03-19 16:59:42下载
    积分:1
  • it is used to solve the matrix problem easily.having the good interface
    it is used to solve the matrix problem easily.having the good interface -it is used to solve the matrix problem easily.having the good interface ...
    2022-04-23 07:15:39下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载