-
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
-
C++编写的Pascal词法分析器
C++编写的Pascal词法分析器-C compilation Pascal morphology analyzer
- 2023-05-05 20:00:02下载
- 积分:1
-
used to write a compiler. Operations at the university, to the teachers should n...
一个用pascal写的编译器。大学时的作业,交给老师应该没问题了。-used to write a compiler. Operations at the university, to the teachers should not matter.
- 2023-04-16 21:20:03下载
- 积分:1
-
为一个很好地语法解析内核程序
为一个很好地语法解析内核程序- For a well grammar analysis essence procedure
- 2022-02-03 18:38:06下载
- 积分:1
-
用c#写的小程序,关于c语音词法分析的,功能很简陋,大家看看吧...
用c#写的小程序,关于c语音词法分析的,功能很简陋,大家看看吧-use small programs written in that voice on the c lexical analysis, feature very simple, we look at it
- 2022-03-31 19:36:21下载
- 积分:1
-
c编译器实现,利用lex yacc写的简单编译器
c编译器实现,利用lex yacc写的简单编译器-achieved using lex generates write a simple compiler
- 2022-05-24 12:13:51下载
- 积分:1
-
语法分析的好的vc程序
语法分析的好的vc程序- Grammar analysis good vc procedure
- 2022-03-16 01:07:25下载
- 积分:1
-
编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改...
编译原理LR(0)文法分析器 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。- Translation principle LR (0) grammar analyzer input legitimate
LR (0) the grammar, will output LR (0) the analytical table, and will
be allowed to carry on the grammar analysis output corresponding
grammar tree to the input sentence. In the procedure the partial
algorithms very are not succinct, await improvements, welcome the
friend and my many exchanges.
- 2022-05-17 18:31:19下载
- 积分:1
-
用栈实现算术运算
用栈实现算术运算- Operates with the stack realization arithmetic
- 2022-03-21 09:41:05下载
- 积分:1
-
C compiler, a simple C language compiler.
C编译器 ,简单的一个C语言的编译器。-C compiler, a simple C language compiler.
- 2022-06-28 11:52:22下载
- 积分:1