-
input is a regular expression, you can use : lowercase letters or numbers, said...
输入一个正则表达式,可以使用: 小写字母或数字,表示终结符;*,闭包;+,并集;~,补集;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
- 2022-06-14 20:06:53下载
- 积分:1
-
一个简单的C
一个简单的类C语言的编译器的实现
可以参考学习编译原理的基本实现-a simple C-like programming language compiler can refer to the realization of the principle of learning basic compiler to achieve
- 2022-03-10 02:16:35下载
- 积分:1
-
为了实现编译器的实用,可自由编写源代码…
为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为:
(1)从源程序文件中读入字符。
(2)统计行数和列数用于错误单词的定位。
(3)删除空格类字符,包括回车、制表符空格。
(4)按拼写单词,并用(种别,单词)二元式表示。
(5)根据需要是否填写标识符表供以后各阶段使用。
这里采用的编译程序的实现方法是一遍扫描,即从左到右只扫描一次源程序,也就是词法分析作为语法分析的一个子程序。故在编写词法分析程序时,用重复调用词法分析子程序取一单词的方法得到整个源程序的二元式流。
-in order to achieve the compiler practical, available free to write source code format, that his writing can be more than words, a statement can occupy multiple lines written; identifier of 20 characters effective; Integer with two byte; long integer with four byte. This lexical analysis for major work : (1) from source document read into the characters. (2) Statistics and a few mistakes out a few words for positioning. (3) delete the blank type characters, including the carriage return, tab spaces. (4) the spelling words and use (other species, words) dual ceremony. (5) whether the need for completing the table identifier subsequent stages. Here the compilers of th
- 2022-01-23 11:14:40下载
- 积分:1
-
C#语言编译器和库文件源码
C#语言编译器和库文件源码-C# Language compiler and library file source
- 2022-01-29 03:09:32下载
- 积分:1
-
PL/0语言编译器
PL/0语言编译器-PL/0 language compiler
- 2023-04-26 13:00:03下载
- 积分:1
-
PASCAL语言子集编译器,足够计算机系的学生交作业用了
PASCAL语言子集编译器,足够计算机系的学生交作业用了-PASCAL language subset compiler, the enough computer
department s students handed over the work to use
- 2022-04-19 21:18:31下载
- 积分:1
-
VC realize the program used to compile a small system, in the system to achieve...
该程序用VC实现了一个小型编译系统,在系统中实现了完整的词法扫描,语法分析,予以分析以及模拟代码生成等模块.-VC realize the program used to compile a small system, in the system to achieve a complete lexical scanning, syntax analysis, to analysis and simulation code generation modules.
- 2022-03-09 20:03:49下载
- 积分:1
-
这是我们老师留的作业,还算不错我给完成了,希望给想做的朋友一点启发...
这是我们老师留的作业,还算不错我给完成了,希望给想做的朋友一点启发
- 2022-03-19 01:38:26下载
- 积分:1
-
这是关于一个剧本
this is about a script
- 2022-03-25 04:33:20下载
- 积分:1
-
原理同简单的编译器分析,但对输入要求较严格,附有说明
原理同简单的编译器分析,但对输入要求较严格,附有说明-principles with a simple compiler analysis, but the more stringent entry requirements, annotated
- 2022-03-24 10:39:21下载
- 积分:1