-
一个小型的C++代码解释器,可以运行简单的C++代码。
一个小型的C++代码解释器,可以运行简单的C++代码。-A small C++ code interpreter, you can run a simple C++ code.
- 2022-06-16 16:18:12下载
- 积分:1
-
Compiler Construction Principles and Practice of PDF format of this book introdu...
编译原理与实践本书介绍了PDF格式的经典系统、编译理论与技术,还包含了当前面向对象语言等比较新的语言编译技术。本书更有价值的是提供了一个较为完整的教学实践适用的样本语言,是一本理论与实践相结合的内容,不可多得的书籍。本书可作为高校教材、教师参考书,以及科研人员的编撰参考。
- 2022-05-28 04:57:22下载
- 积分:1
-
编译器 用C语言对下述文法和单词表定义的语言设计编制一个编译器...
编译器 用C语言对下述文法和单词表定义的语言设计编制一个编译器-Compiler used in C language on the following definition of grammar and word list designed to prepare a language compiler
- 2022-04-11 12:43:03下载
- 积分:1
-
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,...
(1)构造文法G的LR(0)项目
(2)构造文法G的LR(0)项目集规范族及识别活前缀的DFA
(3)证明文法G不是LR(0)文法而是SLR(1)文法,并构造SLR(1)分析表
(4)设计LR语法分析程序,且能输出分析过程
(5)列举两个例子测试语法分析程序(识别失败一例,识别成功一例,后者推导步骤不得少于10步)
-(1) construct grammar G of the LR (0) item (2) construct grammar G of the LR (0) item sets standards and identification of family living prefix DFA (3) prove that the grammar G is not LR (0) grammar, but the SLR (1 ) grammar, and constructs SLR (1) analysis table (4) design LR parser, and can output analysis process (5) cited two examples of parsing test procedures (identification fails an example, identify the success of a case, the latter shall not be derived step Less than 10 steps)
- 2022-05-16 14:03:06下载
- 积分:1
-
词法分析程序设计
词法分析程序设计- The lexical analyaer designs
- 2022-03-07 08:13:07下载
- 积分: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 of curriculum design, the importation of Boolean expressions, and then the system automatically converted to reverse Poland four yuan-
- 2022-02-26 06:19:56下载
- 积分:1
-
语法分析的好的vc程序
语法分析的好的vc程序- Grammar analysis good vc procedure
- 2022-03-16 01:07:25下载
- 积分:1
-
编译原理
编译原理-文法等价转换-compiler theory- grammar Conversion
- 2022-01-31 01:05:59下载
- 积分:1
-
Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历...
Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历 -Syntactic and phrase parser in JAVA which can produce JAVA or C
- 2022-03-12 10:21:31下载
- 积分:1