-
c 的 词发分析程序我现在在学编译原理 想找点东西学 请多关照...
c 的 词发分析程序我现在在学编译原理 想找点东西学 请多关照-c word fat analysis program at school I now depending compiler theory learning the news conference for the
- 2023-01-24 22:25:03下载
- 积分:1
-
PICC code in HT
PICC code in HT-PICC for GLCD
- 2022-07-12 14:00:56下载
- 积分: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
-
一个小语言的词法分析程序,可以给初学者试试手,很不错的哦.....
一个小语言的词法分析程序,可以给初学者试试手,很不错的哦.. -Accidence anlysis program of a small language,can used by beginner,is ok...
- 2023-07-02 16:20:03下载
- 积分:1
-
window下的c编译器。
window下的c编译器。-window under the c compiler.
- 2022-12-21 16:05:03下载
- 积分:1
-
编译原理的FOR循环语句的翻译,中间代码生成,以及语法,词法分析等...
编译原理的FOR循环语句的翻译,中间代码生成,以及语法,词法分析等-compiler principles FOR cycle statement to the translation, intermediate code generation, as well as grammar, lexical analysis
- 2023-04-22 10:50:03下载
- 积分:1
-
为EBNF符号对象的完整支持;
Complete support for EBNF notation; Object-oriented parser design; C++ output; Deterministic bottom-up "shift-reduce" parsing; SLR(1), LALR(1) and LR(1) table construction methods; Automatic parse tree creation; Possibility to output parse tree in XML format; Verbose conflict diagnostics; Generation of tree traverse procedures
- 2022-01-24 16:51:06下载
- 积分:1
-
一个用C编写的#解释器,封闭的过程的完整的实现…
一个用C#编写的解释器,内附完整的实现过程以及源代码。-A used C# Prepared interpreter, enclosing the complete realization of the process, as well as source code.
- 2023-08-22 08:20:03下载
- 积分:1
-
录入合法的LL(1)文法,将输出LL(1)预测分析表
录入合法的LL(1)文法,将输出LL(1)预测分析表- Inputs legitimate LL (1) the grammar, will output LL (1) to
forecast the analytical table
- 2022-01-28 04:07:52下载
- 积分:1
-
词法分析程序设计 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的...
词法分析程序设计 1、给出各单词符号的类别编码。 2、词法分析程序应能发现输入串中的错误。 3、词法分析作为单独一遍编写,词法分析结果为二元式序列组成的-Lexical analysis program design one, given the various types of code word symbols. 2, lexical analysis procedure should be able to detect errors in the input strings. 3, again as a separate lexical analysis prepared for morphological analysis of binary sequence composed of
- 2022-03-25 19:56:04下载
- 积分:1