-
从网上下载lex工具源代码,并对其进行反复修改
使其能按我们的要求对C程序进行词法分析,然后输出我们期望的结果...
从网上下载lex工具源代码,并对其进行反复修改
使其能按我们的要求对C程序进行词法分析,然后输出我们期望的结果
-downloaded from the Internet tools lex source code, and it has repeatedly revised to enable it to us by the requirements of the C procedures lexical analysis, and then output the results we expect
- 2022-05-08 15:55:35下载
- 积分:1
-
一个基于算符优先分析程序,是我的课程设计程序,大家可以参考...
一个基于算符优先分析程序,是我的课程设计程序,大家可以参考-A priority based on operator analysis program, is my curriculum design process, everyone can refer to
- 2022-06-20 06:36:09下载
- 积分:1
-
编译原理
编译原理-文法等价转换-compiler theory- grammar Conversion
- 2022-01-31 01:05:59下载
- 积分: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
-
C compiler, a simple C language compiler.
C编译器 ,简单的一个C语言的编译器。-C compiler, a simple C language compiler.
- 2022-06-28 11:52:22下载
- 积分:1
-
c语言编写,用于c
c语言编写,用于c-minus语言的语法分析.-use for c-minus compile.
- 2022-02-06 05:52:47下载
- 积分:1
-
ll(1)语义分析器
ll(1)语义分析器-ll (1) Semantic Analyzer
- 2022-03-13 06:13:38下载
- 积分:1
-
NEC upd78f0300的自编程序样例,对78K0系列有都可以调用
NEC upd78f0300的自编程序样例,对78K0系列有都可以调用-NEC upd78f0300 sample of self-compiled program on the 78K0 series can be called
- 2022-03-25 06:03:31下载
- 积分:1
-
ll1语法分析的c语言实现代码 需要输入词法分析的txt结果文件
ll1语法分析的c语言实现代码 需要输入词法分析的txt结果文件-ll1 the grammar analysis c language realization code needs to
input the lexical analysis the txt result document
- 2023-03-31 09:25:03下载
- 积分:1
-
C编译器源码是我到处找来的,看了之后很有收获
C编译器源码是我到处找来的,看了之后很有收获-C compiler source is found everywhere, and found the great harvest
- 2023-01-28 09:15:03下载
- 积分:1