-
一个经典的词法分析器,可解析各种复杂的SQL语句
一个经典的词法分析器,可解析各种复杂的SQL语句- A classical morphology analyzer, may analyze each kind of
complex SQL sentence
- 2022-02-03 12:03:49下载
- 积分:1
-
编译原理实验 词法分析器
编译原理实验 词法分析器-compiler principle experiment lexical analyzer
- 2022-08-25 20:11:26下载
- 积分:1
-
词法分析,是一个一个单词的分析
词法分析,是一个一个单词的分析- The lexical analysis, is one by one the word analysis
- 2022-03-17 10:53:17下载
- 积分: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
-
vc实现的pl0编译器,有读取输出功能
vc实现的pl0编译器,有读取输出功能-read() -write(),这个源码对初学编译原理者有很好的指导作用,我当初学的时候用了3天看懂了源码,也对编译原理更加理解了,毕竟只学理论不看代码是不可能真正理解的,原作者是dwing,我对代码做了一些修改,在此感谢dwing提供的代码-vc achieve pl0 compiler, a reader output- read ()- write (), the source for beginners compiler principles are very good role in guiding, I had time to study the use of three days to read the source code, but also to build a greater understanding of the tenets of all, the theory is not see the code is impossible to truly understand the original author dwing yes, I made some code changes like to thank the code dwing
- 2022-10-10 13:20:03下载
- 积分:1
-
这是一个高质量的图像程序,希望能得到大家的喜爱
这是一个高质量的图像程序,希望能得到大家的喜爱-This is a high-quality images procedures, we hope to be the favorite
- 2022-01-25 23:41:12下载
- 积分:1
-
词法分析器,用于输入表达式后输出单个独立的数据项
词法分析器,用于输入表达式后输出单个独立的数据项-lexical analyzer for the importation of expression output of a single independent data item
- 2022-07-06 18:33:27下载
- 积分:1
-
编写的一个汇编编写的一个计算装置,是一个编译的学习型的..
用汇编编写了一个运算器,是汇编初学着参考的一个好程序-compilation prepared with a computing device that is a compilation of learning a reference to the program
- 2023-03-29 08:10:04下载
- 积分:1
-
数学公式分析
数学公式分析- The mathematical formula analyzes
- 2022-02-04 03:39:11下载
- 积分:1
-
一个词法分析器的源程序
一个词法分析器的源程序- A morphology analyzer source program
- 2022-07-05 10:56:30下载
- 积分:1