-
功能比较强的正则表达式分析器,支持重复次数。尝试完全采用C++实现。可能速度不快。...
功能比较强的正则表达式分析器,支持重复次数。尝试完全采用C++实现。可能速度不快。-function relatively strong in the regular expression analyzer, the number of repeat support. C to achieve completely. May slow.
- 2022-12-11 06:35:03下载
- 积分:1
-
编译原理 课件 蛮实用的
编译原理 课件 蛮实用的-bianyiyuanli
- 2022-01-24 10:00:01下载
- 积分: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
-
1.词法分析 设计、编制并调试该C语言子集的词法分析程序,要求结果以二元组形式保存在文件中。...
1.词法分析 设计、编制并调试该C语言子集的词法分析程序,要求结果以二元组形式保存在文件中。-1. Lexical analysis design, develop and debug the C language subset of the lexical analysis procedure that requires results to binary form group to preserve the documents.
- 2022-02-01 04:29:55下载
- 积分:1
-
该系统是本人课程设计作业,因为时间关系,只用了两天多的时间编成。所以有很多地方没有得到增强。版本为1.0。现作以下升级。 增加NEW,OPEN版本。 提高输入容...
该系统是本人课程设计作业,因为时间关系,只用了两天多的时间编成。所以有很多地方没有得到增强。版本为1.0。现作以下升级。 增加NEW,OPEN版本。 提高输入容错。判断输入的对错。 时间关系,搜索功能为线性搜索,现增强如下:f_search:费氏查找法;btree:二叉树查找法;l_search:线性查找法; r_search:递归折半查找法;zcsear:杂凑碰撞查找法;o_sear:插补查找加强法; 排序是冒泡法,现增强为:heaps:累堆排序;binary:二叉树排序;xieer:谢耳排序;sinsert:插入排序;quicks:快速排序;select:选择排序法; 有时间不仿试试。-f_search: Find Act Fernandez btree: binary tree search method l_search: linear search method r_search: Recursive half Find Law zcsear: Find a hash collision law o_sear: interpolation search Enhancement Act sort is bubbling method are enhanced for: heaps: HEAPSORT tired binary: binary tree sort xieer: Xie ears sort sinsert: Insertion Sort quicks: quick sort select: Select Sort Method
- 2022-12-09 21:20:03下载
- 积分:1
-
编译原理课程设计,用C写的PL/0编译器,有详细的文档和代码
编译原理课程设计,用C写的PL/0编译器,有详细的文档和代码-compiler theory curriculum design, the C write PL/0 compiler, a detailed documentation and code
- 2022-03-13 18:23:16下载
- 积分:1
-
状态转换矩阵 用来判断运算符的正确性
状态转换矩阵 用来判断运算符的正确性- The phase transition matrix uses for to judge the operator the
accuracy
- 2022-07-26 11:04:14下载
- 积分:1
-
用DSP控制LED,DSP采用2812.此程序在实际板子上调试通过。
用DSP控制LED,DSP采用2812.此程序在实际板子上调试通过。-DSP control with LED, DSP using 2812. This program debugging through the actual board.
- 2023-02-28 18:20: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
-
一个用于检查c语法错误的程序
一个用于检查c语法错误的程序- Uses in to inspect the c grammatical error the procedure
- 2023-07-11 16:25:03下载
- 积分:1