-
编译原理语法分析器编程
编译原理语法分析器编程- The translation principle grammar analyzer programs
- 2022-05-10 20:22:50下载
- 积分:1
-
Translation principle small language compiler
编译原理small语言的编译程序- Translation principle small language compiler
- 2022-04-16 23:30:06下载
- 积分:1
-
该文件是一个简短的语法分析文法,是用来实现LL1文法的,适用于初级学者!...
该文件是一个简短的语法分析文法,是用来实现LL1文法的,适用于初级学者!-this is a ll1 gramer!
- 2022-01-25 17:59:52下载
- 积分:1
-
词法分析,可识别关键字,整数,实数,标识符,有一定的提示操作界面...
词法分析,可识别关键字,整数,实数,标识符,有一定的提示操作界面-Lexical analysis can identify the keywords, integers, real numbers, identifiers, there are some tips user interface
- 2022-02-14 16:24:41下载
- 积分:1
-
使用Java语言实现Small Basic语言解释器。包括两个主要的子系统:一个是表达式解释器,负责处理数字表达式;另一个是解释器,负责程序的实际执行。...
使用Java语言实现Small Basic语言解释器。包括两个主要的子系统:一个是表达式解释器,负责处理数字表达式;另一个是解释器,负责程序的实际执行。-use Java language Small Basic language interpreter. Including the two major subsystems : an expression interpreter is responsible for handling digital expression; Another interpreter, responsible for the actual implementation process.
- 2022-04-11 19:06:50下载
- 积分:1
-
输入文法,可以实现对非终结符,终结符的判断,最后判断文法。...
输入文法,可以实现对非终结符,终结符的判断,最后判断文法。-importation of grammar can be realized by the end of the non-Fu, Fu end of the judgment, the final judgment of grammar.
- 2022-05-31 20:44:29下载
- 积分:1
-
This is a java virtual machine implement in c
This is a java virtual machine implement in c
- 2022-03-30 00:00:33下载
- 积分:1
-
语音压缩编码和解码的标准,其中包含部分源代码
语音压缩编码和解码的标准,其中包含部分源代码-voice compression encoding and decoding standard, which includes source code
- 2022-05-06 09:05:37下载
- 积分:1
-
test for character recognition sofware
test for character recognition sofware
- 2023-03-30 12:05:04下载
- 积分: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