-
词法分析程序,可对以下的C源程序进行分析
词法分析程序,可对以下的C源程序进行分析:main() {int a[12] ,sum for(i=1 i=1 j--){ if(i==j&&i+j==13)sum+=a[i][j] } } printf("%c",sum) }-lexical analysis procedures, right below the C source code analysis : main () (int a [12] [12], the sum for (i = 1 ilt; I = 12) (for (j = 1 JLT; J = 12) Scanf ( "% d", a [i] [j])) for (i = 12 IGT; a = i--) (for (j = 12 IGT; = 1 j--) (if (i == ji j == 13) sum = a [i] [j])) printf ( "% c", sum
- 2022-07-19 15:44:58下载
- 积分:1
-
有限自动机的运行,利用状态表和有限自动机的运行原理,识别一个输入串是否为一个有效的无符号定点实数。...
有限自动机的运行,利用状态表和有限自动机的运行原理,识别一个输入串是否为一个有效的无符号定点实数。-of the operation, the use of tables and limited state of the automatic machine operation principle, to identify whether an input string as a symbol of effective non-sentinel real.
- 2022-08-18 23:32:12下载
- 积分:1
-
object pascal编译器源码
object pascal编译器源码-object pascal compiler source
- 2022-05-30 22:16:49下载
- 积分:1
-
为你的脚本语言编辑器添加智能感知效果,就像VS开发环境的自动提示一样....
为你的脚本语言编辑器添加智能感知效果,就像VS开发环境的自动提示一样.-For your scripting language editor to add intellisense effects, like the VS development environment, like the automatic prompts.
- 2022-12-26 09:50:03下载
- 积分:1
-
Borland Pascal写的8051单片机模拟仿真器。内有源码,可惜是16位机的程序,只能在WIN98之前的系统可以正常使用。哪位高人能把源码改成W32就好...
Borland Pascal写的8051单片机模拟仿真器。内有源码,可惜是16位机的程序,只能在WIN98之前的系统可以正常使用。哪位高人能把源码改成W32就好了。-Written in Borland Pascal simulation device 8051. There are source code, but is 16-bit machine procedures, only in WIN98 system before normal use. An expert source who can change the W32 just fine.
- 2022-01-20 22:34:08下载
- 积分:1
-
MIPS32 instruction set of the assembler. Simulation environment in QUARTUS will...
MIPS32指令系统的汇编器。
在QUARTUS仿真环境中,将MIPS32指令写成的汇编程序翻译成二进制写入指令存储器。-MIPS32 instruction set of the assembler. Simulation environment in QUARTUS will MIPS32 assembler written instructions translated into binary memory write instructions.
- 2023-02-08 20:40:04下载
- 积分:1
-
读一组
reads a set of C-source files and generates a two-column listing
of those sources-reads a set of C-source files and generates a two-column listing of those sources
- 2022-03-17 21:37:41下载
- 积分:1
-
计算所汉语词法分析系统ICTCLAS.分词正确率高达97.58%(973专家组评测),未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%处理速度...
计算所汉语词法分析系统ICTCLAS.分词正确率高达97.58%(973专家组评测),未登录词识别召回率均高于90%,其中中国人名的识别召回率接近98%处理速度为31.5Kbytes/s。ICTCLAS的特色还在于:可以根据需要输出多个高概率结果,有多种输出格式,支持北大词性标注集,973专家组给出的词性标注集合。-Calculate the Chinese Lexical Analysis System ICTCLAS. Segmentation correct rate of 97.58 percent (973 Expert Group on Evaluation), the recall rate of identification of unknown words were higher than 90 percent, of which China s name to identify the recall rate of nearly 98 percent processing speed for 31.5Kbytes/s. Also features ICTCLAS is: can output a number of high probability that there are a variety of output formats, to support the North-of-speech tagging sets, 973 expert group is given a collection of-speech tagging.
- 2022-11-30 21:35:04下载
- 积分:1
-
编译原理豪华版的编写程序,用的是用!
编译原理豪华版程序用VC++编写-compiler theory luxury version of the preparation procedures with VC!
- 2022-01-24 16:45:01下载
- 积分: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