-
Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 proc...
打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 procedure. In 2.output has all production patterns and
LALR analytical table all conditions.
- 2022-02-07 22:42:39下载
- 积分:1
-
源程序生成器,可以根据数据库自动生生代码
源程序生成器,可以根据数据库自动生生代码-Source generator, the code according to the database automatically Sang Sang
- 2022-02-07 00:37:39下载
- 积分:1
-
希望可以帮助同学在编译原理上有有更多的理解!
希望可以帮助同学在编译原理上有有更多的理解!- The hope may help the schoolmate in the translation principle
has more understanding!
- 2022-09-29 14:05:03下载
- 积分:1
-
一个汇编语言编译器源码
一个汇编语言编译器源码- A assembly language compiler source code
- 2023-04-27 11:25:03下载
- 积分:1
-
编译原理PLO语言的功能扩展C语言源程序
编译原理PLO语言的功能扩展C语言源程序-Compilation Principle PLO language extensions C language source code
- 2022-07-19 20:47:30下载
- 积分:1
-
brief introduction, the entire project is divided into five documents : Main.c
简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来。:)-brief introduction, the entire project is divided into five documents : Main.c----- procedure entry point, it is actually very simple, it is called two functions. Global.h----- definition of global variables and Wang Parse.h----- parser the main algorithm Prece.h----- definition and realization of a number of priority the operation Stack.h----- the definition and implementation of a stack and operation of the compiler used whenever WITH TC 2.0 or WinTC open Main.c documents compiled enough. If found please Bug out here or affixed to amend the code of Columbia here :) Overall, the project is just a simple example, like to tell you how to put classroom knowledge
- 2022-09-22 15:55:02下载
- 积分:1
-
pl0的编译程序源码,是用C编写的,很经典
pl0的编译程序源码,是用C编写的,很经典-pl0 the compiler source code is written using C, it is a classic
- 2022-03-04 16:53:35下载
- 积分:1
-
一个小巧的,易于使用的XML文档解析器,内附例程使用
一个小巧、好用的xml文档 解析器,内附使用例程-A compact, easy to use the xml document parser, enclosing the use of routine
- 2023-06-09 16:05:03下载
- 积分:1
-
用语法分析器编写的语法和词法分析
用c编写的语法解析器,能进行词法和语法分析-c prepared with the parser can make grammatical and lexical analysis
- 2022-02-04 01:25:04下载
- 积分: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