Welcome![Sign In][Sign Up]
Location:
Search - LEXICAL ANALYZER CODES

Search list

[ELanguagecifafenxiqi(new)

Description: 词法分析器制作与应用 设计思想 (1)程序主体结构部分: 说明部分 %% 规则部分 %% 辅助程序部分 (2)主体结构的说明 在这里说明部分告诉我们使用的LETTER,DIGIT, IDENT(标识符,通常定义为字母开头的字母数字串)和STR(字符串常量,通常定义为双引号括起来的一串字符)是什么意思.这部分也可以包含一些初始化代码.例如用#include来使用标准的头文件和前向说明(forward ,references).这些代码应该再标记\"%{\"和\"%}\"之间 规则部分> 可以包括任何你想用来分析的代码 我们这里包括了忽略所有注释中字符的功能,传送ID名称和字符串常量内容到主调函数和main函数的功能. (3)实现原理 程序中先判断这个句语句中每个单元为关键字、常数、运算符、界符,对与不同的单词符号给出不同编码形式的编码,用以区分之。 PL/0语言的EBNF表示 <常量定义>::=<标识符>=<无符号整数> <标识符>::=<字母>={<字母>|<数字>} <加法运算符>::=+|- <乘法运算符>::=*|/ <关系运算符>::==|#|<|<=|>|>= <字母>::=a|b|…|X|Y|Z <数字>::=0|1|2|…|8|9-lexical analyzer production and application design (1) procedure main structural elements : narrative%%%% Rules of Procedure supporting part (2) the main structure of the narrative here to tell us so The LETTER, DIGIT, IDENT (identifier, usually defined as the beginning of the alphabet alphanumeric strings) and STR (string constants, usually defined as double quotes name of the string of characters) what it meant. This part also contains some initialization code. cases # include use as to the use of standard documents and the first to the (forward, references). these codes should labeled "% (" and ")%" between some of the rules
Platform: | Size: 4846 | Author: 黄启龙 | Hits:

[MultiLanguageCodes and Application

Description: 这是一个中科院中文词法分析器,能对输入的文本进行分词,词性标注,未登陆词识别等功能,正确率相当高,很有用哦-This is an Academia Sinica Chinese morphology analyzer, can carry on the participle to the input text, the lexical category sign note, has not landed function and so on word recognition, correct rate quite high, is very useful oh
Platform: | Size: 2298877 | Author: 月月 | Hits:

[MultiLanguageCodes and Application

Description: 这是一个中科院中文词法分析器,能对输入的文本进行分词,词性标注,未登陆词识别等功能,正确率相当高,很有用哦-This is an Academia Sinica Chinese morphology analyzer, can carry on the participle to the input text, the lexical category sign note, has not landed function and so on word recognition, correct rate quite high, is very useful oh
Platform: | Size: 2298880 | Author: 月月 | Hits:

[ELanguagecifafenxiqi(new)

Description: 词法分析器制作与应用 设计思想 (1)程序主体结构部分: 说明部分 %% 规则部分 %% 辅助程序部分 (2)主体结构的说明 在这里说明部分告诉我们使用的LETTER,DIGIT, IDENT(标识符,通常定义为字母开头的字母数字串)和STR(字符串常量,通常定义为双引号括起来的一串字符)是什么意思.这部分也可以包含一些初始化代码.例如用#include来使用标准的头文件和前向说明(forward ,references).这些代码应该再标记"%{"和"%}"之间 规则部分> 可以包括任何你想用来分析的代码 我们这里包括了忽略所有注释中字符的功能,传送ID名称和字符串常量内容到主调函数和main函数的功能. (3)实现原理 程序中先判断这个句语句中每个单元为关键字、常数、运算符、界符,对与不同的单词符号给出不同编码形式的编码,用以区分之。 PL/0语言的EBNF表示 <常量定义>::=<标识符>=<无符号整数> <标识符>::=<字母>={<字母>|<数字>} <加法运算符>::=+|- <乘法运算符>::=*|/ <关系运算符>::==|#|<|<=|>|>= <字母>::=a|b|…|X|Y|Z <数字>::=0|1|2|…|8|9-lexical analyzer production and application design (1) procedure main structural elements : narrative%%%% Rules of Procedure supporting part (2) the main structure of the narrative here to tell us so The LETTER, DIGIT, IDENT (identifier, usually defined as the beginning of the alphabet alphanumeric strings) and STR (string constants, usually defined as double quotes name of the string of characters) what it meant. This part also contains some initialization code. cases# include use as to the use of standard documents and the first to the (forward, references). these codes should labeled "% (" and ")%" between some of the rules
Platform: | Size: 4096 | Author: 黄启龙 | Hits:

[ELanguagecompilerprograms

Description: compiler design -lexical analyzer,and others source codes for B.tech-cse -compiler design-lexical analyzer,and others source codes for B.tech-cse
Platform: | Size: 2048 | Author: saurabhsingh | Hits:

[ELanguageLexical-analyzer

Description: 设计各个单词的状态装换图,并为不同的单词设计种别码。将词法分析器设计成供语法分析器调用的子程序。-Each word with the state of the design change figure, and for different words design codes will be kind lexical analyzer design into the parser calls for grammar subroutine
Platform: | Size: 157696 | Author: 宋志伟 | Hits:

[ELanguageCMMParserOfIss

Description: 这是武大国软的解释器构造课程的词法分析器代码-This is Wutai Guo soft interpreter configuration program lexical analyzer codes
Platform: | Size: 141312 | Author: liu | Hits:

[ELanguagebianyiyuanli

Description: 编译原理的词法分析器代码,主要实现了识别关键字的功能-Compiler theory lexical analyzer Codes
Platform: | Size: 16384 | Author: Carmen | Hits:

CodeBus www.codebus.net