-
学习简单的Yacc说明的原理,掌握Yacc源文件的写法以及语法分析器生成工具BISON的使用方法和Yacc源文件的运行方法和基本步骤。...
学习简单的Yacc说明的原理,掌握Yacc源文件的写法以及语法分析器生成工具BISON的使用方法和Yacc源文件的运行方法和基本步骤。
-Yacc study shows a simple principle, Yacc master source file written syntax analyzer and generate UML tools and the use of the source language Yacc pieces of the operation and basic steps.
- 2022-12-19 01:20:04下载
- 积分: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
-
VB Script脚本引擎及例子程序
VB Script脚本引擎及例子程序-VB Script engine and example program
- 2022-02-06 23:39:47下载
- 积分:1
-
一个小巧的,易于使用的XML文档解析器,内附例程使用
一个小巧、好用的xml文档 解析器,内附使用例程-A compact, easy to use the xml document parser, enclosing the use of routine
- 2023-06-09 16:05:03下载
- 积分:1
-
65xx系列致力于加强芯片设计调试环境的变化
专门为65XX系列芯片设计的变异调试环境的源代码,自带代码加色系统,以及模拟调试环境-65XX series dedicated to the variation of chip design debugging environment of source code, code plus its own color system, simulation and debugging environment
- 2022-05-16 09:13:14下载
- 积分:1
-
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。...
一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(-read a word process, from the import of the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (
- 2023-03-20 00:35:03下载
- 积分:1
-
对C++进行词法和语法分析。
要求:
词法分析部分写出相应的正规集、正规式、NFA、DFA
写出语法分析所采用的方法和完成的语法分析功能...
对C++进行词法和语法分析。
要求:
词法分析部分写出相应的正规集、正规式、NFA、DFA
写出语法分析所采用的方法和完成的语法分析功能
编写出响应的编译程序
写出完整的课程设计报告
-right for C morphology and syntax analysis. Requirements : lexical analysis to write a corresponding set of formal, formal style, NFA, DFA write syntax analysis, the method used to complete the grammar and analysis capabilities to prepare to respond to the compiler to write a complete curriculum design report
- 2023-02-14 19:20:04下载
- 积分:1
-
编译原理 课程设计报告: 预测分析表的构造
编译原理 课程设计报告: 预测分析表的构造- The translation principle curriculum designs reported that,
Forecasts the analytical table the structure
- 2023-04-26 17:00:03下载
- 积分:1
-
用语法分析器编写的语法和词法分析
用c编写的语法解析器,能进行词法和语法分析-c prepared with the parser can make grammatical and lexical analysis
- 2022-02-04 01:25:04下载
- 积分:1
-
用VC写的一个词法分析器,学习编译原理时特别有用。
用VC写的一个词法分析器,学习编译原理时特别有用。-VC write a lexical analyzer, compiler theory when learning particularly useful.
- 2022-04-30 03:29:40下载
- 积分:1