-
commonly used programming language syntax and grammar forms to the public. Among...
现将本人搜集常用的程序设计语言的词法和形式文法提供给大家。其中,词法是按LEX格式编辑,形式文法是按YACC格式书写,大家可直接用LEX和YACC工具编译生成各类程序设计语言的分析器。-commonly used programming language syntax and grammar forms to the public. Among them, morphology is based on LEX format editing, grammar form is written by YACC format, we can use the LEX and YACC tools various compiler generation programming language analyzer.
- 2022-01-24 17:36:45下载
- 积分:1
-
这是一个使用标准 C 开发的简单的可以对 C 语言程序进行语法检查的程序,本程序检查你的程序中小括号、中括号、大括号、单引号、双引号、/* */ 注释等的配对情...
这是一个使用标准 C 开发的简单的可以对 C 语言程序进行语法检查的程序,本程序检查你的程序中小括号、中括号、大括号、单引号、双引号、/* */ 注释等的配对情况,可以及时发现程序中存在的语法错误情况。-This is a standard C development can be a simple C language syntax procedures for the inspection procedures, the procedures check your procedures small brackets, brackets, brackets, the single quotes, double quotes,/**/Notes for the match, found it timely procedures the errors of grammar.
- 2023-08-21 19:30:02下载
- 积分:1
-
Magic C++!的源代码
Magic C++!的源代码-Magic C! Source code
- 2022-08-25 21:25:53下载
- 积分:1
-
Script C被设计成一种解释执行的、C语言风格的脚本语言。它用来完成bat批处理无法完成,而用C语言写程序又太复杂了的这类工作。它没有java的高安全性但能...
Script C被设计成一种解释执行的、C语言风格的脚本语言。它用来完成bat批处理无法完成,而用C语言写程序又太复杂了的这类工作。它没有java的高安全性但能够直接使用系统的许多资源,可以使用API,在功能上要比java强大。目前只计划支持Windows系统,包括95/98/SE/ME/2000/NT/-Script C was designed as an interpretation of the implementation of the C language style scripting language. It used to complete the bat batch could not be completed, and C language was too complex procedure of this kind of work. It is no java high security but can be used directly in many system resources, you can use the API, functionally powerful than java. Currently only plans to support the Windows system, including 95/98/SE/ME/2000/NT /
- 2022-09-23 04:15:02下载
- 积分:1
-
这是一个此法分析器的手工构造实例,程序很简洁。
这是一个此法分析器的手工构造实例,程序很简洁。-This is a method of manual analyzer tectonic example, a very simple procedure.
- 2022-07-17 21:34:47下载
- 积分:1
-
一种罕见的Z80目标机器的编译器源码,是学习理论和实践经验…
一个不可多得的Z80为目标机的编译器源程序,是学习编译原理和进行实践的好资料
-A rare Z80 target machine compiler source, is to learn theory and practical experience to compile a good information
- 2022-02-03 03:55:44下载
- 积分:1
-
flex code,compiler theory curriculum design, the C write PL / 0 compiler, a deta...
flex code,compiler theory curriculum design, the C write PL / 0 compiler, a detailed documentation and code -flex code, compiler theory curriculum design, the C write PL/0 compiler, a detailed documentation and code
- 2022-08-11 12:30:35下载
- 积分:1
-
拿出这个程序来主要是因为原文中只有一个LEX程序,
拿出这个程序来主要是因为原文中只有一个LEX程序,- Puts out this procedure to come mainly is because in the
original text only has a LEX procedure,
- 2022-09-16 13:45:03下载
- 积分:1
-
本人自己改进过的帧间差分方法,并且调试过,对于学习车辆检测算法的朋友,有些帮助...
本人自己改进过的帧间差分方法,并且调试过,对于学习车辆检测算法的朋友,有些帮助-I own improved interframe difference method, and debugging, the vehicle detection algorithm for learning friends, and some help
- 2022-04-01 03:43:59下载
- 积分: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