-
Experiment to construct a grammar (should consider the transformation) of FIRST...
构造实验一所给文法(应考虑改造)的FIRST集合和FOLLOW集合;构造LL(1)分析表;构造预测分析的总控程序;利用分析表、分析栈和总控程序对源程序进行自上而下的语法分输出整个语法分析过程中栈的变化过程及分析结果,如符合语法规则输出“正确”,否则输出“错误”。
-Experiment to construct a grammar (should consider the transformation) of FIRST and FOLLOW set of the collection construct LL (1) analysis table structural prediction analysis of the master control procedures the use of analytical tables, analyze the stack and the total source code control procedures carried out since the last sub output down syntax parsing process of the whole stack and analysis of the results of the change process, such as the grammatical rules out the " right" , otherwise output " error."
- 2022-08-19 02:16:53下载
- 积分:1
-
LEX词法分析器
LEX词法分析器-LEX morphology analyzer
- 2022-08-11 15:56:36下载
- 积分:1
-
一个词法分析器程序
一个词法分析器程序- A morphology analyzer procedure
- 2022-05-24 22:06:37下载
- 积分:1
-
在CPLD内实现声调和时间的控制,在LATTICE的ISPLEVER6.1下编译通过。可以修改定时时间进行声调的修改...
在CPLD内实现声调和时间的控制,在LATTICE的ISPLEVER6.1下编译通过。可以修改定时时间进行声调的修改-In the CPLD to achieve control of tone and time, in LATTICE under the ISPLEVER6.1 compiled through. Can be modified from time to time time to tone changes
- 2022-11-22 15:05:04下载
- 积分:1
-
ll(1)语义分析器
ll(1)语义分析器-ll (1) Semantic Analyzer
- 2022-03-13 06:13:38下载
- 积分:1
-
This manual describes the target environment of the 8051 how to use the Cx51 opt...
本手册讲述对8051 的目标环境如何使用Cx51 优化C 编译器编译C 程序Cx51 编
译器包可以用在所有的8051 系列处理器上可以在WINDOWS 32 位命令行中执行本手
册假定你熟悉WINDOWS 操作系统知道如何编程8051 处理器并会用C 语言编程-This manual describes the target environment of the 8051 how to use the Cx51 optimizing C compiler to compile C program Cx51 compiler package can be used in all of the 8051 series of processors can be WINDOWS 32-bit command-line in the implementation of this manual assumes that you are familiar with WINDOWS operating system, know How do I program the 8051 processor and will use C language programming
- 2022-01-28 11:30:31下载
- 积分:1
-
C-MINUS编译器,一个很不错的编译原理实践成果-C-MINUS compiler, a very good practice to compile the results of the principle
- 2022-03-10 14:25:11下载
- 积分:1
-
M8控制cc2500,usb无线接口,游戏控制器.
可作为通用的游戏受柄.
M8控制cc2500,usb无线接口,游戏控制器.
可作为通用的游戏受柄.-M8 control cc2500, usb wireless interface, the game controller. Can be used as a universal game by the handle.
- 2022-06-13 15:06:12下载
- 积分: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
-
LL (1) parser
LL(1)语法分析器,在任何时候,总控程序都是按照栈顶符号X和当前输入符号a行事的。对于任何(X,a),总控程序每次都执行下述三种可能的动作之一:
若X=a=’#’,则宣布分析成功,停止分析过程;
若X=a≠’#’,则把X从栈顶逐出,让a指向下一输入符号;
若X是一个非终结符,则查看分析表M。若M中存放着一条关于X的产生式,那么,首先把X逐出栈顶,然后,把产生式的右部符号按反序一一推进栈,同时做这个产生式相应的语义动作(目前不管)。若M[X,a]中存放着一条出错标志,则调用出错诊查程序Error。-LL (1) parser
- 2022-04-20 05:21:39下载
- 积分:1