-
D/A Converter (D/A converter)
D/A Converter(D/A转换器)-D/A Converter (D/A converter)
- 2022-05-06 04:41:14下载
- 积分:1
-
teste para poder baixar um aquivo
teste para poder baixar um aquivo
- 2023-01-13 18:00:05下载
- 积分:1
-
编译原理实践教程PL0语言编译程序源代码。参考书:清华大学出版社的《编译原理》作者吕映芝、张素琴等。
实现主要功能有:对使用PL0语言编写的程序进行词法分析...
编译原理实践教程PL0语言编译程序源代码。参考书:清华大学出版社的《编译原理》作者吕映芝、张素琴等。
实现主要功能有:对使用PL0语言编写的程序进行词法分析,查看词法分析的结果,语法分析, 生成中间代码并可供查看,以及解释执行。
压缩包中含有实验报告文本,其中有程序中各功能模块及主要功能的详细说明。-Compilation Principle Practice Guide PL0 source language compiler. Reference: Tsinghua University Press, Compiler Construction Principles author Lu Ying-chi, such as Su-Qin Zhang. The realization of the main functions are: the use of language PL0 lexical analysis procedure to see the results of lexical analysis, syntax analysis, intermediate code generation and will also be available to view and explain the implementation. Experimental package contains the text of the report, including detailed description of every functional process modules and main functions.
- 2022-07-02 04:07:16下载
- 积分: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
-
一个很好的LR(1)语法分析的源码实现
一个很好的LR(1)语法分析的源码实现-a good LR (1) syntax analysis of the source code to achieve
- 2022-08-06 00:46:10下载
- 积分:1
-
与vc++界面十分类似的词法分析器,更带了娱乐功能,播放影音哦...
与vc++界面十分类似的词法分析器,更带了娱乐功能,播放影音哦- With the vc contact surface extremely similar morphology
analyzer, brought the entertainment function, the broadcast video and
music oh
- 2022-02-04 23:15:25下载
- 积分:1
-
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
-
一个简单的C语言编译器
一个简单的C语言编译器-a simple C language compiler
- 2022-01-26 00:17:31下载
- 积分:1
-
词法分析,可识别关键字,整数,实数,标识符,有一定的提示操作界面...
词法分析,可识别关键字,整数,实数,标识符,有一定的提示操作界面-Lexical analysis can identify the keywords, integers, real numbers, identifiers, there are some tips user interface
- 2022-02-14 16:24:41下载
- 积分:1
-
A very useful procedure, c language written, for many school friends SCM may be...
一个非常有用的程序,c语言写得,对于很多学单片机的朋友或许有用。
-A very useful procedure, c language written, for many school friends SCM may be useful.
- 2022-03-20 22:04:32下载
- 积分:1