-
编译原理实践教程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
-
目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pa...
目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pascal子集语言的语法分析器。 功能:程序由两个模块LEX和YACC构成,YACC使用LEX分析后的正规单词输出流-Objective : to prepare a simple procedure with YACC YACC lexical analysis of the basic tools to use, and the lexical analyzer designs. Preparation including assignment if statements containing Addition and multiplication of expressions such as grammatical structure of the pascal subset of the language syntax analyzer. Function : procedures by the two modules constitute LEX and YACC, YACC LEX analysis using the formal word output streams
- 2022-01-26 03:38:11下载
- 积分:1
-
- 2023-08-16 20:45:03下载
- 积分:1
-
c语言分析器。读入一个C语言程序以确定该程序不是合法的C语言程序。如果程序有语法和语义错误,请给出错误消息。至少要处理以下错误:(1)所有的语法错误。C-语法,见C-文档(2)语义错误:
- 2022-05-07 03:29:31下载
- 积分:1
-
简单的语法分析,递归下降语法分析
简单的语法分析,递归下降语法分析-simple syntax analysis, recursive grammar analysis drop
- 2022-01-28 23:02:04下载
- 积分:1
-
Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 proc...
打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the
test the PL/0 procedure. In 2.output has all production patterns and
LALR analytical table all conditions.
- 2022-02-07 22:42:39下载
- 积分:1
-
二进制运算符重载
binary operator overloading in c-binary operator overloading in c++
- 2023-07-28 11:05:03下载
- 积分:1
-
用C++编写的编译原理词法分析
用C++编写的编译原理词法分析- Translation principle lexical analysis compiles which with C
- 2023-04-21 21:10:03下载
- 积分:1
-
设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do...
设计、编制并调式一个词法分析程序,加深对词法分析原理的理解,对字符串型单词符号(if,then,while,do----)等等用函数int reserve(char* p)来处理,对单词符号(+,-,*,/,=-----)等等用switch()来处理。-cifafenxi
- 2023-03-11 22:50:04下载
- 积分:1
-
从形式化的仪式到有限自动机和有限自动机…
从正规式到有限自动机及确定的有限自动机的化简。-from the formal ceremony to Finite Automata and the limited automatic machine simplification.
- 2023-02-19 01:30:04下载
- 积分:1