-
类pascal的词法分析设计,内容详细。 这是我老师的教案,我看内容较全,希望对您也有帮助!...
类pascal的词法分析设计,内容详细。 这是我老师的教案,我看内容较全,希望对您也有帮助!- The kind of pascal lexical analysis design, the content is
detailed. This is my teacher teaches the document, I looked content
comparatively entire, hoped also has the help to you!
- 2022-01-22 07:51:57下载
- 积分: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
-
Shorthand是一个强大的脚本语言,是专门为基于Web的应用程序设计的。它的语法简单直观易于学习。它的引擎可在所有的 Linux 和Windows平台的流行
Shorthand是一个强大的脚本语言,是专门为基于Web的应用程序设计的。它的语法简单直观易于学习。它的引擎可在所有的 Linux 和Windows平台的流行Web服务器上运行。它支持 MySQL 和ODBC,以便用最普通的数据格式化。-Shorthand is a powerful scripting language that is specifically for Web-based application design. Its syntax is simple and intuitive and easy to learn. The engine in all the Linux and Windows platforms popular Web servers. It supports ODBC and MySQL to use the most common data format.
- 2022-03-20 21:39:04下载
- 积分:1
-
A VisualC++ Realize the C
一个VisualC++实现的C-语言的编译器-A VisualC++ Realize the C-language compiler
- 2022-07-02 02:14:29下载
- 积分:1
-
这是我同学做得编译原理――词法分析器,有读源文件,和写目标文件...
这是我同学做得编译原理――词法分析器,有读源文件,和写目标文件-This is the principle of my classmates to do the compiler- lexical analyzer source file has read, and write the destination file
- 2022-08-20 08:44:55下载
- 积分:1
-
设计、编制、调试一个典型的语法分析程序,实现对如下文法的递归子程序法分析,进一
步掌握常用的语法分析方法。...
设计、编制、调试一个典型的语法分析程序,实现对如下文法的递归子程序法分析,进一
步掌握常用的语法分析方法。-Design, preparation, testing a typical parser to realize the following grammar for a recursive subroutine Analysis, to further understand the syntax of commonly used analytical methods.
- 2022-03-07 13:06:02下载
- 积分:1
-
Cypress 68013a appliaction example
Cpress 68013A is the best one -Cypress 68013a appliaction example
- 2022-04-06 21:11:03下载
- 积分:1
-
这是个简单的语法分析器程序,输入一个表达式,会给出一个分析过程....
这是个简单的语法分析器程序,输入一个表达式,会给出一个分析过程.-This is a simple procedure syntax analyzer, the importation of an expression, is an analytical process.
- 2022-06-14 02:59:54下载
- 积分:1
-
pl/0, the compilation of principles, Tsinghua second edition. c++ realize the
pl/0,汇编原理、清华第二版。c++实现的-pl/0, the compilation of principles, Tsinghua second edition. c++ realize the
- 2022-02-10 02:02:03下载
- 积分:1
-
commonly used programming language syntax and grammar forms to the public. Among...
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
- 2022-02-01 15:12:35下载
- 积分:1