登录
首页 » Compiler program » vc实现的pl0编译器,有读取输出功能

vc实现的pl0编译器,有读取输出功能

于 2022-10-10 发布 文件大小:51.63 kB
0 228
下载积分: 2 下载次数: 1

代码说明:

vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing

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

发表评论

0 个回复

  • 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
  • 词法分析与语法分析程序
    词法分析和语法分析的程序,带实验报告- The lexical analysis and the grammar analysis procedure, brings the test report
    2022-01-22 15:35:40下载
    积分:1
  • lcd的初始化等
    lcd的初始化等-lcd initialization, etc.
    2022-07-28 03:05:15下载
    积分:1
  • this procedure is the function : China will decorate the expression (containing...
    本程序的功能是:将中缀表达式(只能含有的运算符为( ) / * + - =)转化为后缀表达式,-this procedure is the function : China will decorate the expression (containing only the operator ()/*- =) into suffix expression,
    2022-07-12 16:08:23下载
    积分:1
  • 用汇编和C写的32位C语言编译器,支持C++,也可编译Windows程序和DLL文件...
    用汇编和C写的32位C语言编译器,支持C++,也可编译Windows程序和DLL文件- 32 C language compiler write which with the assembly and C, supports C, also may translate the Windows procedure and the DLL document
    2022-02-21 14:46:37下载
    积分:1
  • 用BCB做的pascal词法分析器,语法还没有完成,请高手继续...
    用BCB做的pascal词法分析器,语法还没有完成,请高手继续-do with BCB pascal lexical analyzer, the syntax is not yet complete, 19:56 continue
    2022-02-02 18:59:36下载
    积分:1
  • make文件自动生成器,可生成多种编译器的make文件
    make文件自动生成器,可生成多种编译器的make文件-make document automatic production, may produce the many kinds of compilers the make document
    2022-07-03 13:39:41下载
    积分:1
  • 单片机测试程式,主要是IO扩展,测试线路,开路短路,LCD显示...
    单片机测试程式,主要是IO扩展,测试线路,开路短路,LCD显示-Single-chip testing program is mainly IO expansion, testing lines, open-circuit short-circuit, LCD display
    2023-04-10 18:30:03下载
    积分:1
  • vigenre java password
    vigenre 是关于加密的java实现-vigenre java password
    2022-03-03 09:54:42下载
    积分:1
  • delphi实现的sql解析器,可以对各种sql语句进行解析,产生语法树。
    delphi实现的sql解析器,可以对各种sql语句进行解析,产生语法树。-realize the sql parser delphi can parse the various sql statements, resulting in tree grammar.
    2022-02-12 23:03:52下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载