-
c编译器实现,利用lex yacc写的简单编译器
c编译器实现,利用lex yacc写的简单编译器-achieved using lex generates write a simple compiler
- 2022-05-24 12:13:51下载
- 积分:1
-
- 2023-08-16 20:45:03下载
- 积分:1
-
在语言环境下写的个人简历,包括三…
在XML语言环境下写的个人简历,包含三个文件,XML文件、SCHEMA文件、CSS文件-In the XML language environment written biographical notes, including the three files, XML files, SCHEMA files, CSS files
- 2022-01-22 04:14:22下载
- 积分:1
-
一个简单的C词法分析器 能识别数字,标志符(关键字,变量)和一些运算符....
一个简单的C词法分析器 能识别数字,标志符(关键字,变量)和一些运算符.-a simple C lexical analyzer can identify the number, identifier (keyword, variable), and some Operators.
- 2023-04-18 23:00:03下载
- 积分:1
-
非常精美的c语言编译器,请想探讨编译器的人赶快下载哦!
非常精美的c语言编译器,请想探讨编译器的人赶快下载哦!- The extremely fine c language compiler, please want to discuss
the compiler the person quickly downloads oh!
- 2022-12-21 17:30:03下载
- 积分: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
-
编译原理 词法分析器
识别标识符,关键字,运算符,常量,界符包括出错处理...
编译原理 词法分析器
识别标识符,关键字,运算符,常量,界符包括出错处理-compiler theory lexical analyzer identification identifiers, keywords, Operators, constants, and address sector including error handling
- 2022-02-05 17:06:25下载
- 积分:1
-
递归下降语法分析
递归下降语法分析-decline recursive grammar analysis
- 2022-04-10 05:33:19下载
- 积分:1
-
编译原理LL1分析表
编译原理LL1分析表- Translation principle LL1 analytical table
- 2022-11-06 10:10:03下载
- 积分:1
-
SLR parser
slr语法分析器-SLR parser
- 2022-02-24 15:46:01下载
- 积分:1