搜索资源列表
lexicalanalysis
- 为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为: (1)从源程序文件中读入字符。 (2)统计行数和列数用于错误单词的定位。 (3)删除空格类字符,包括回车、制表符空格。 (4)按拼写单词,并用(种别,单词)二元式表示。 (5)根据需要是否填写标识符表供以后各阶段使用。 这里采用的编译程序的实现方法是一遍扫描,即从左到右只
lex分析pl0
- 是用flex分析pl0源代码的程序,统计处其中所有的关键字和变量名称,这个rar文件中有readme,具体见其中的说明。另外还有2个测试文件ceshi1.pl0和ceshi2.pl0-is flex pl0 source code analysis procedures, the Census and Statistics Department in which all the keywords and variable names, the rar a readme file, as show
bianyima
- 对这个编码译码器的要求是:打开一片英文文章,能统计该文章中每个字符出现的次数,然后以他们作为权值,对每一个字符进行编码,编码完成后再对其编码进行译码。 -Codec for this request is: Open an English article, to statistics of the article appears in the frequency of each character, and then their value as a right, for each encode
NewEdit3.0
- qt 写的一个减一文本编辑器,可拖拽,可统计代码行数,可以调用mingw的编译器-qt by a text written by an editor, drag and drop, the number of available lines of code statistics, you can call the mingw compiler