-
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++做的一个小的哈夫曼编码器
按照清华大学的教材,自己用C++做的一个小的哈夫曼编码器-materials they used to do a C minor Huffman encoder
- 2022-06-29 11:57:54下载
- 积分:1
-
achieve a compact but complete Java Virtual Machine
一个小巧而且实现很完整的JAVA虚拟机-achieve a compact but complete Java Virtual Machine
- 2022-03-01 07:03:36下载
- 积分:1
-
这是LL(1)的一个文法和 分析表 很好的
这是LL(1)的一个文法和 分析表 很好的 - This LL (1) a grammar and the analytical table are very good
- 2022-03-21 16:30:24下载
- 积分:1
-
这是一个编译器的程序代码
这是一个编译器的程序代码- This is a compiler procedure code
- 2022-07-12 05:01:56下载
- 积分:1
-
简单的语言词法和语法分析,包括令牌字符串填充,…
simple语言的词法和语法分析,包括token串的填写,符号表的填写,四元式的生成
-simple language morphology and syntax analysis, including token strings fill in, fill in the symbol table, the generation of type Quaternion
- 2023-01-16 07:40:03下载
- 积分:1
-
- 2022-08-20 12:54:47下载
- 积分:1
-
这是一个词法分析的小程序,希望大家多多指教
这是一个词法分析的小程序,希望大家多多指教-This is a lexical analysis of small procedures, we hope the exhibitions
- 2022-03-25 21:05:53下载
- 积分:1
-
编译原理的词法分析器,语法分析器(包括递归子程序,算符优先,LR类分析法),语义分析等原理图...
编译原理的词法分析器,语法分析器(包括递归子程序,算符优先,LR类分析法),语义分析等原理图-compiler tenets of lexical analyzer and parser (including recursive subroutines, operator precedence, LR type analysis), semantic analysis diagram
- 2023-01-05 12:35:03下载
- 积分:1
-
ADV7171 在BF553上测试通过 大家开下了
ADV7171 在BF553上测试通过 大家开下了-ADV7171 in BF553 testing through all of the under
- 2022-04-29 00:29:18下载
- 积分:1