-
A LL(1) parser, built by MS VC 6.0, an assignment of my Complier Principles co...
LL(1)的语法分析器,VC6.0编译器通过,输入输出的文件名详见代码,输出文件中的分析过程和编译原理课本要求类似,根据不同的句子可能需要重新调整对齐格式-A LL(1) parser, built by MS VC 6.0, an assignment of my Complier Principles course
- 2022-08-16 06:42:11下载
- 积分:1
-
seg数据的各种转换代码,比较全,总共四个,为了凑5个,能下载原吗,忍痛3啊...
seg数据的各种转换代码,比较全,总共四个,为了凑5个,能下载原吗,忍痛3啊-seg code conversion of data to compare the whole, a total of four, five in order to put together, you can download the original, and in pain 3 ah
- 2022-01-25 16:10:28下载
- 积分: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
-
CMINUS写在C语言的语法分析器,用递归下降法
C语言编写的cminus语言语法分析器,采用递归下降方法-Cminus written in C language parser, using recursive descent method
- 2023-05-13 01:25:03下载
- 积分:1
-
AutoCAD 2005中文版建筑制图新概念百例
AutoCAD 2005中文版建筑制图新概念百例-源代码 -AutoCAD 2005 English edition of the new concept of one hundred cases of Architectural Drawing- 2005 Chinese version of the source code for the new concept of one hundred cases of Architectural Drawing- the source code for
- 2022-08-14 01:16:02下载
- 积分:1
-
语法分析
语法分析―在词法分析的基础上分析表达式-syntax analysis-in lexical analysis on the basis of analysis of expression
- 2023-03-19 09:25:03下载
- 积分:1
-
编译原理的词法分析器!
编译原理的词法分析器!-Compilation Principle of lexical analyzer!
- 2022-03-26 00:18:30下载
- 积分:1
-
linux shell 得词法分析器,用于shell的命令解释。
linux shell 得词法分析器,用于shell的命令解释。-linux shell a lexical analyzer for the shell command interpreter.
- 2023-02-09 13:40:04下载
- 积分:1
-
Libboost_regex regular expression
基于libboost_regex的正则表达式测试程序,可用于入门者的参考代码。-Libboost_regex regular expression-based test procedure can be used for a reference code for beginners.
- 2022-03-21 21:31:53下载
- 积分:1
-
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序...
在本编译程序中,源语言为PL/0语言,目标语言为假想栈式计算机的汇编语言.PL/0语言是Pascal语言的一个子集,PL/0的编译程序包括了对PL/0语言源程序进行分析处理、编译生成类PCODE代码,并在虚拟机上解释运行生成的类PCODE代码的功能。
PL/0语言编译程序采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告功能。在源程序没有错误编译通过的情况下,调用类PCODE解释程序解释执行生成的类PCODE代码。
该软件为PL/0语言编译程序,所实现的扩充功能如下:
1.增加单词:保留字 ELSE,FOR,TO, DOWNTO
2.增加运算 +=,-=,++,--
3.不等号# 改为
4.增加条件语句的ELSE子句
5.扩充语句:
①FOR := TO DO
②FOR := DOWNTO DO
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
概述
源文件: *.plo
目标文件: *.COD
实现平台:C++ Builder6.0
-the compiler, the source language of PL/0 language, target language of the imaginary stack of computer assembly language. PL/0 language Pascal language is a subset of, PL/0 compilers including the right PL/0 language source analysis, category PCODE compiler code generation and the virtual machine running on to explain the formation PCODE category code functions. PL/0 language compiler
- 2022-07-12 21:52:18下载
- 积分:1