Welcome![Sign In][Sign Up]
Location:
Search - LexicalAnalysis

Search list

[ELanguagelexicalanalysis

Description: 为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前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 this method is again scanned, the scanning time from left to right only source files, is a lexical analysis as a grammatical ana
Platform: | Size: 10697 | Author: houny | Hits:

[ELanguageLexicalAnalysis

Description: 编译原理的词法分析器,可以根据输入的内容判断出所属的词素,
Platform: | Size: 47450 | Author: shoarh | Hits:

[ELanguageLexicalanalysis

Description: 简单一点的用C++编写的词法分析的源代码
Platform: | Size: 1893 | Author: spark | Hits:

[ELanguagec

Description: 简单的词法分析小例子- Simple lexical analysis small example
Platform: | Size: 7168 | Author: 站长 | Hits:

[ELanguagelexicalanalysis

Description: 为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前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 this method is again scanned, the scanning time from left to right only source files, is a lexical analysis as a grammatical ana
Platform: | Size: 201728 | Author: houny | Hits:

[ELanguageLexicalAnalysis

Description: 编译原理的词法分析器,可以根据输入的内容判断出所属的词素,-err
Platform: | Size: 148480 | Author: shoarh | Hits:

[ELanguageLexicalanalysis

Description: 简单一点的用C++编写的词法分析的源代码-Using simple point C++ Prepared lexical analysis of source code
Platform: | Size: 2048 | Author: spark | Hits:

[ELanguageLexicalAnalysis

Description: 词法分析的小工具 有点意思 还算可以 不过比较简陋-Lexical Analysis of small tools can be a bit mean but still relatively simple
Platform: | Size: 17408 | Author: liulin | Hits:

[ELanguageLexicalanalysis

Description: 词法分析算法源代码,对输入的词法进行特定的分析。是编译原理课中做的实验-Lexical analysis algorithm source code, on the importation of specific lexical analysis. Classes are compiled in principle to do the experiment
Platform: | Size: 2048 | Author: zhaoyan | Hits:

[ELanguageLexicalAnalysis

Description: 自然语言处理中的词法分析程序,有详细说明,可独立运行。-Natural language processing in the lexical analysis process, there is a detailed description can be run independently.
Platform: | Size: 872448 | Author: Tianyi Chen | Hits:

[ELanguageLexicalAnalysis

Description: 编译原理课程中词法分析器,适用于大学课程-Compiler lexical analyzer principle of the curriculum for university courses
Platform: | Size: 2048 | Author: hongyan | Hits:

[ELanguageLexicalAnalysis

Description: 用C++编写的一个简单C语言词法分析器,把需要分析的内容保存在C:\input.txt,分 析完毕好保存在C:\output.txt-Using C++ to prepare a simple C language lexical analyzer, the need to analyze the contents stored in C: \ input.txt, finished the analysis of well preserved in the C: \ output.txt
Platform: | Size: 2048 | Author: 雷天佑 | Hits:

[OS programLexicalAnalysis

Description: 设计、编制并调试一个词法分析程序 输入所给文法的源程序字符串 输出二元组(syn,token或sum)构成的序列-Design, preparation and testing procedures for the importation of a lexical analysis of the grammar of the source string to the output of the dual group (syn, token or sum) of the sequence composition
Platform: | Size: 1024 | Author: yanglingfei | Hits:

[ELanguageLexicalAnalysis

Description: 一个简单的词法分析器,读入源码,进行词法分析。-A simple lexical analyzer to read into the source code for lexical analysis.
Platform: | Size: 322560 | Author: liangdawen | Hits:

[ELanguageLexicalAnalysis

Description: 词法分析器 词法分析 lex java编写-Java prepared lexical analyzer
Platform: | Size: 16384 | Author: xuedagong | Hits:

[ELanguagelexicalanalysis

Description: 词法分析 是用来解释汇编语言中词法的分析-lexical analysis
Platform: | Size: 1024 | Author: 李浩 | Hits:

[ELanguagelexicalanalysis

Description: 设计一个词法分析器。 【基本要求】 词法分析器基本功能是: (1) 输入源程序:输入PASCAL源程序; (2) 输出单词,输出形式为:(序号,单词,对应源程序行号,对应源程序列号); (3) 输出出错信息,输出形式为:(出错行号,出错列号,出错信息); (4) 输出符号表,输出形式为:(单词种别码,单词符号); 【测试数据】 (1)输入源程序: program example1 var a,b,c:integer x:char begin if (a+c*3 > b) and (b>3) then c:=3 x:=2+(3*a)-b*c*8 if (2+3 >a) and (b>3) and (a>c) then c:=3 for x:= 1+2 to 3 do b:=100 while a>b do c:=5 for x:= 1+d to 3 do b:=15 while t>b do c:=5 repeat a:=10 until a>b end. -a lexical analysis
Platform: | Size: 8192 | Author: 陈小丽 | Hits:

[ELanguagelexicalanalysis

Description: 一个关于Pascal语言的词法分析器,使用二元式表-Pascal language on the lexical analyzer, the use of binary-style tables
Platform: | Size: 1024 | Author: 陈浩 | Hits:

[ELanguageLexicalAnalysis

Description: 小词法分析器 可以从文本输入内容后,经程序分析得出分析结果-LexicalAnalysis
Platform: | Size: 1024 | Author: blue3 | Hits:

[CSharpLexicalanalysis

Description: 编译原理中最常用的词法分析,能对简单的代码进行词法分析。-Compiler Construction Principles of the most commonly used lexical analysis, energy code for a simple lexical analysis.
Platform: | Size: 8192 | Author: graydawn | Hits:
« 12 3 »

CodeBus www.codebus.net