登录
首页 » Compiler program » input is a regular expression, you can use : lowercase letters or numbers, said...

input is a regular expression, you can use : lowercase letters or numbers, said...

于 2022-06-14 发布 文件大小:171.39 kB
0 224
下载积分: 2 下载次数: 1

代码说明:

输入一个正则表达式,可以使用: 小写字母或数字,表示终结符;*,闭包;+,并集;~,补集;E,空串;O,空集 然后程序将生成 相应的NFA,以及化简之后的DFA,最后再输入一个字符串,程序判断它是否满足该正则表达式-input is a regular expression, you can use : lowercase letters or numbers, said Fu end;* Closure; , And set; To complement the set; E, empty string; O, empty set procedures will then generate the corresponding NFA, and the simplification of the DFA after finally lose into a string, procedures judgment whether it is to meet the regular expression

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这个是对上次S语言词法分析的修改,程序已修改好了.
    这个是对上次S语言词法分析的修改,程序已修改好了.-this is the last S language lexical analysis of the changes, the procedure has been revised up.
    2023-05-27 03:05: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
  • 一个汇编语言编译器源码
    一个汇编语言编译器源码- A assembly language compiler source code
    2023-04-27 11:25:03下载
    积分:1
  • err
    < 编译原理实用教程>>中的程序源代码:包括词法,语法分析,目标代码生成等-err
    2022-02-04 07:55:11下载
    积分:1
  • convert MATHML to SVG
    convert MATHML to SVG
    2022-08-11 08:39:56下载
    积分:1
  • The use of C/C++ language as the implementation language, to achieve a simple PL...
    使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
    2023-03-06 02:05:03下载
    积分:1
  • 一个比较全的词法分析器语法分析器。
    一个比较全的词法分析器语法分析器。- A quite entire morphology analyzer grammar analyzer.
    2022-05-20 10:04:45下载
    积分:1
  • 我做的一个C子集的词法分析器可以分析C语言的一个子集,包括17个关键字以及绝大部分的符号.能正确的报错...
    我做的一个C子集的词法分析器可以分析C语言的一个子集,包括17个关键字以及绝大部分的符号.能正确的报错-I do a C subset of the lexical analyzer can be analyzed in a C language subset, including 17 keyword majority of the symbols. Able to correct errors
    2022-08-03 05:03:58下载
    积分:1
  • 词法分析器一个很不错的程序,源代码。 看看吧
    词法分析器一个很不错的程序,源代码。 看看吧- A morphology analyzer very good procedure, source code. Has a look
    2022-07-19 14:51:33下载
    积分:1
  • C/C++的解释器源代码,很漂亮的,我使用过
    C/C++的解释器源代码,很漂亮的,我使用过-C/C interpreter source code, a very nice, I used
    2022-02-24 12:10:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载