Location:
Search - Pl0 pascal
Search list
Description: PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。
文件说明:
PL.htm---PL/0语言基本原理
pl0.h---定义
PL0.cpp---实现
testPl0.cpp---使用方法举例
testPas.txt---一个LP/0语言源程序
Platform: |
Size: 597066 |
Author: |
Hits:
Description: 简介:PL0语言是pascal语言的一个子集。编译VC工程之前,需要运行run.bat将词法分析脚本和语法语义分析脚本编译成C语言。-Profile : pascal PL0 language is a language subset. VC compiler works, will also need to run the script lexical analysis and semantic analysis script syntax into C language compiler.
Platform: |
Size: 941470 |
Author: 罗鹏魁 |
Hits:
Description: PL/0语言是Pascal语言的一个子集,是一种简单而且可扩充的语言,在我的测试用例中有具体的体现。它通过词法分析、语法分析、语义分析等过程,生成目标代码,目标代码是一种形似汇编语言的栈操作指令。-PL / 0 Pascal language is a language subset is a simple and extensible language, In my test case with concrete expression. Through lexical analysis, parsing, semantic analysis process, generating object code, Object Code is a huge stack of assembly language operating instructions.
Platform: |
Size: 1171374 |
Author: 李建康 |
Hits:
Description: 技术型论文,PASCAL编写的PL0编译器-Technical papers, prepared by the PL0 PASCAL Compiler
Platform: |
Size: 18807 |
Author: 恢复 |
Hits:
Description: pascal编译器程序,希望能给广大读者带来帮助,谢谢大家使用-pascal compiler procedures in the hope that readers can help bring, thank you for the use of
Platform: |
Size: 4606 |
Author: 程长河 |
Hits:
Description: PL/0语言编译程序分析(pascal版)-PL / 0 language compiler analysis (pascal version)
Platform: |
Size: 4897 |
Author: lcch |
Hits:
Description: PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统。PL/0的目标程序为假想栈式计算机的汇编语言,与具体计算机无关。 文件说明: PL.htm---PL/0语言基本原理 pl0.h---定义 PL0.cpp---实现 testPl0.cpp---使用方法举例 testPas.txt---一个LP/0语言源程序-PL/0 language may regard as the PASCAL language the subset,
its compiler is a translation explanation execution system. The PL/0
target program for the imaginary stack type computer assembly
language, has nothing to do with with the concrete computer. Document
explanation that, PL.htm---PL/0 language basic principle pl0.h---
defines PL0.cpp--- to realize the testPl0.cpp--- application method to
give an example testPas.txt--- a LP/0 language source program
Platform: |
Size: 596992 |
Author: 许豫飞 |
Hits:
Description: turbo pascal pl/0语言分析程序-turbo pascal pl/0 speech analysis procedure
Platform: |
Size: 15360 |
Author: 李 |
Hits:
Description: 简介:PL0语言是pascal语言的一个子集。编译VC工程之前,需要运行run.bat将词法分析脚本和语法语义分析脚本编译成C语言。-Profile : pascal PL0 language is a language subset. VC compiler works, will also need to run the script lexical analysis and semantic analysis script syntax into C language compiler.
Platform: |
Size: 941056 |
Author: 罗鹏魁 |
Hits:
Description: 编译原理课程设计:(2)扩充赋值运算:+= 和 -=
(3)扩充语句(Pascal的FOR语句):
①FOR <变量>:=<表达式> TO <表达式> DO <语句>
②FOR <变量>:=<表达式> DOWNTO <表达式> DO <语句>
其中,语句①的循环变量的步长为1,
语句②的循环变量的步长为-1。
-Principles of curriculum design compiler: (2) the expansion of assignment operator:+ = And-= (3) the expansion of expressions (Pascal s FOR statement): ① FOR <variable>: = <expression> TO <expression> DO <statement> ② FOR <variable>: = <expression> DOWNTO <expression> DO <statement> of which the cycle of statement ① variable step size is 1, the cycle of statement ② variable step size for the-1.
Platform: |
Size: 582656 |
Author: 风飘零 |
Hits:
Description: 在本编译程序中,源语言为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 to use syntax analysis of the core, the compiler again scanning methods. Lexical analysis, and code generation as an independent for the subroutine call syntax analysis procedures. Grammatical analysis at the same time, provided the error reporting function. The source did not compile the wrong circumstances, Call category PCODE explain the interpretation and implementation of procedures generated P
Platform: |
Size: 384000 |
Author: mayfar |
Hits:
Description: PL/0语言是Pascal语言的一个子集,是一种简单而且可扩充的语言,在我的测试用例中有具体的体现。它通过词法分析、语法分析、语义分析等过程,生成目标代码,目标代码是一种形似汇编语言的栈操作指令。-PL/0 Pascal language is a language subset is a simple and extensible language, In my test case with concrete expression. Through lexical analysis, parsing, semantic analysis process, generating object code, Object Code is a huge stack of assembly language operating instructions.
Platform: |
Size: 1171456 |
Author: 李建康 |
Hits:
Description: 技术型论文,PASCAL编写的PL0编译器-Technical papers, prepared by the PL0 PASCAL Compiler
Platform: |
Size: 18432 |
Author: 恢复 |
Hits:
Description: pascal编译器程序,希望能给广大读者带来帮助,谢谢大家使用-pascal compiler procedures in the hope that readers can help bring, thank you for the use of
Platform: |
Size: 4096 |
Author: 程长河 |
Hits:
Description: PL/0语言编译程序分析(pascal版)-PL/0 language compiler analysis (pascal version)
Platform: |
Size: 5120 |
Author: lcch |
Hits:
Description: PL0语言(很像PASCAL语言)的一个简易编译器,不过不是我做的.还是很有意思的.-PL0 languages (like PASCAL language) of a simple compiler, but not what I do. Is very interesting.
Platform: |
Size: 2030592 |
Author: 赵捷 |
Hits:
Description: 第一次写的,编译原理课设,PASCAL语言的子集PL/0语言的编译器,很菜很菜,大家见谅o(∩_∩)o-The first written by the principle of class-based compiler, PASCAL language a subset of PL/0 language compiler, it is food is food, everyone will be forgiven o (∩ _ ∩) o
Platform: |
Size: 1167360 |
Author: Lulu |
Hits:
Description: PL0扩展功能——编译原理课程设计
有运算符的扩充等-PL0 extensions- Principles of curriculum design compiler operator expansion, etc.
Platform: |
Size: 249856 |
Author: 严远驰 |
Hits:
Description: PL/0语言的语法描述PL/0语言可以看成PASCAL语言的子集,它的编译程序是一个编译解释执行系统
-PL/0 language to describe the syntax of PL/0 language can be seen as a subset of PASCAL language, its compiler is a compiler to explain the implementation of the system
Platform: |
Size: 678912 |
Author: xuling |
Hits:
Description: 可能是流传最广、最为经典的样板作品,Pascal语言之父、图灵奖获得者Niklaus Wirth在其名著Algorithms + Data Structures = Programs第5章给出的一个递归下降预测分析器实现。毫无疑问,它是用Pascal语言编写的。该编译器生成的目标语言是p-code,一台p- code虚拟机有3个寄存器(程序计数器、基本寄存器和栈顶寄存器)和8条指令(每条指令有多种形式)。-May be the most widely accepted model for the most classical works, Pascal language father, Turing Award winner Niklaus Wirth in his famous book Algorithms+ Data Structures = Programs Chapter 5 gives a recursive descent parser to achieve prediction. There is no doubt that it is written in Pascal. The compiler generates the target language is the p-code, a p-code virtual machine has three registers (program counter, the basic registers and stack registers) and 8 instructions (each instruction takes many forms).
Platform: |
Size: 4096 |
Author: superchangme |
Hits: