-
自己做的一个普通词法分析程序c语言环境终结符:e c j t u可扩展...
自己做的一个普通词法分析程序c语言环境终结符:e c j t u可扩展-have done an ordinary lexical analysis procedure c language environment End Address : c j e t u scalability
- 2022-06-21 21:29:19下载
- 积分:1
-
一个编译原理的教案,解说得很详细,相信对大家会有很大的帮助的...
一个编译原理的教案,解说得很详细,相信对大家会有很大的帮助的-a compiler principles of lesson plans, explained very clearly, I believe there will be very helpful to the
- 2023-02-26 00:15:04下载
- 积分:1
-
用MFC编了一个迷你的Pascal编译器,交互式用户界面
用mfc编的一个mini pascal compiler,有交互界面,方便用户操作,对于学编译原理以及正在研究mfc的同学来说,是相当不错的参考源码。-mfc series with a mini pascal compiler, interactive interface user-friendly operation, the compiler theory and science is studying mfc students, it is a fairly good reference source.
- 2023-08-14 05:10:03下载
- 积分:1
-
c++ to visual basic converter
c++ to visual basic converter-c++ to visual basic converter
- 2022-06-21 02:19:36下载
- 积分:1
-
语法分析器词法分析器
语法分析器词法分析器-Parser lexical analyzer
- 2022-07-17 03:44:05下载
- 积分:1
-
PL0 language compiler, easy to use VC compiles
PL0语言的编译器,好用VC++编写-PL0 language compiler, easy to use VC compiles
- 2022-01-25 20:21:45下载
- 积分:1
-
一个用LISP语言编写的语法分析器。底部的使用
一个用LISP语言编写的语法分析器。使用Bottom-up Chart Parsing算法,程序非常的简单高效,只有二百多行。另外可以自己定义文法和字典。 源代码公开,主要供对语法分析算法和LISP编程感兴趣的人学习使用,也可以使用在自然语言处理的各种实际研究当中。-A language with LISP parser. The use of Bottom-up Chart Parsing algorithm, the procedure very simple and efficient, and only more than 200 lines. In addition to its own grammar and dictionary definition. Open source code, mainly for syntax analysis of the LISP programming algorithms and people interested in learning to use, you can also use natural language processing in a variety of actual studies.
- 2022-06-26 05:28:01下载
- 积分:1
-
这是一个代码构建自己的解决数独游戏。它的效率是非常…
it is a code build by my own for solving the sudoku game .its efficeincy is very high-it is a code build by my own for solving the sudoku game .its efficeincy is very high....
- 2022-04-19 06:01:36下载
- 积分:1
-
示范利用 Delphi 制作 BASIC 程序语言解释器
示范利用 Delphi 制作 BASIC 程序语言解释器- The demonstration manufactures the BASIC program language
interpreter using Delphi
- 2022-09-08 14: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