-
一个小语言的词法分析器,由此可以写出其他各种语言的词法分析器。这对编译原理的初学者或许有一定的帮助。...
一个小语言的词法分析器,由此可以写出其他各种语言的词法分析器。这对编译原理的初学者或许有一定的帮助。-a small language lexical analyzer, it can be written in various languages other lexical analyzer. This compiler theory and beginners may be of some help.
- 2022-08-17 20:51:49下载
- 积分:1
-
利用vc制作的模拟编译器的扫描程序,实现在输入字符串扫描分解为编译器能识别的符号。...
利用vc制作的模拟编译器的扫描程序,实现在输入字符串扫描分解为编译器能识别的符号。- Using the vc manufacture simulation compiler scanning
procedure, realizes in the input character string scanning decomposes
the mark which can distinguish for the compiler.
- 2023-04-24 06:45:03下载
- 积分:1
-
一个可以识别C语言中标识符,关健字,运算符和各种数字的词法分析器.用VC6.0编写的. 下面是主要代码...
一个可以识别C语言中标识符,关健字,运算符和各种数字的词法分析器.用VC6.0编写的. 下面是主要代码- May distinguish in the C language the identifier, Guan Jianzi,
the operator and each kind of digital morphology analyzer Compiles
with VC6.0 Under is the main code..
- 2022-06-12 11:47:53下载
- 积分:1
-
LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只...
LL(1)文法使用的是确定的自顶向下的分析技术。LL(1)的含义是:第一个L表明自顶向下分析是从左向右扫描输入串,第2个L表明分析过程中将使用最左推导,1表明只需向右看一个符号便可决定如何推导,即选择哪个产生式(规则)进行推导。-LL (1) grammar using a set top-down analysis techniques. LL (1) the meaning is: the first one L shows a top-down analysis is a scan input string from left to right, the first two L shows the analysis process will be the most left-derivation, one that will be just right to see a sign can decide how to derive, choose what Production (rules) for derivation. LL (1) grammar, followed by calculation of the discriminant needs FIRST sets, FOLLOW sets and SELLECT set, and then determine whether to LL (1) grammar, the last sentence further analysis.
- 2022-02-06 11:59:23下载
- 积分:1
-
c编译器实现,利用lex yacc写的简单编译器
c编译器实现,利用lex yacc写的简单编译器-achieved using lex generates write a simple compiler
- 2022-05-24 12:13:51下载
- 积分:1
-
OH, a c variable target language compiler source code, the compiler can use vc.n...
lcc,一个可变目标c语言编译器的源码,可以用vc.net编译-OH, a c variable target language compiler source code, the compiler can use vc.net
- 2022-10-23 11:50:03下载
- 积分:1
-
uservice和快速
uService&RAPI-1.01.022-chs(lib-update)uService,源代码,开发工具,设备管理器-uService
- 2022-11-16 07:45:03下载
- 积分:1
-
用java编译的PL0编译器
附带解释器
用java编译的PL0编译器
附带解释器-java compiler with the PL0 compiler fringe Interpreter
- 2022-08-21 07:35:48下载
- 积分: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
-
另一版本的词法分析器
另一版本的词法分析器- Another edition morphology analyzer
- 2022-02-25 07:18:58下载
- 积分:1