搜索资源列表
词法分析
- 编译原理基础课程,词法分析编写,可识别符号,数字,关键字等
scan
- 利用vc制作的模拟编译器的扫描程序,实现在输入字符串扫描分解为编译器能识别的符号。- Using the vc manufacture simulation compiler scanning procedure, realizes in the input character string scanning decomposes the mark which can distinguish for the compiler.
EP2
- C语言编写的简单计算程序的语法分析器,可以识别一定的计算功能-C language prepared by the simple calculation procedure syntax analyzer can identify certain computing capabilities
test
- 关于plo的词法分析器,识别关键字,计入缓冲区-With regard to the lexical analyzer plo, identify keywords, included in the buffer zone
bianyiyuanlicifafenxi
- 词法分析 1、通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 2、编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本关键字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示) 有实验报告-Lexical Analysis 1, through the design of t
bianyiyuanliyufafenxi
- 语法分析的功能: 语法分析是编译过程的核心部分,它的主要任务是按照和程序语言的语法规则,从由词法分析输出的源程序符号串中识别出各类语法分析成分,同时进行语法检查,为语义分析和代码生成作准备。 有报告-Parsing functions: syntax analysis is the core of the compiler process, its main tasks and procedures in accordance with the grammatical rules of
cifafenxi
- 词法分析程序:一. 为PL/0语言建立一个词法分程序GETSYM(函数) 把关键字、算符、界符称为语言固有的单词,标识符、常量称为用户自定义的单词。为此设置三个全程量:SYM,ID,NUM 。 SYM:存放每个单词的类别,为内部编码的表示形式。 ID:存放用户所定义的标识符的值,即标识符字符串的机内表示。 NUM:存放用户定义的数。 GETSYM要完成的任务: 1. 滤掉单词间的空格。 2. 识别关键字,用查关键字表的
token
- 一个简单的编译原理的实验——识别标识符与常数-Compilation Principle of a simple experiment- identification identifier with the constant
compilar
- 实现编译器的词法分析,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续进行)-Achieve compiler lexical analysis, from the input source program to identify each word has an independent significance, that is the basi
ll(1)YUFAPANDUAN
- 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符
vc++experience
- 识别器,编译原理的,实验一加实验二,句柄-Identifier, the compiler principles, laboratory experiments one plus II Handle
scan
- 手工构造C-词法分析器,可以正确识别C-程序的全部token-Hand-constructed C-lexical analyzer, you can correctly identify all the C-process token
yuyifenxi
- 语义分析:将语法分析所识别的语法成分变换为中间代码的语义翻译-Semantic Analysis: The grammatical analysis of the identified components of the grammar is transformed into intermediate code semantic translation
cifafenxi
- 实验题目:词法分析器 一、实验目的: 设计、编制、调试一个词法分析子程序-识别单词,加深对词法分析原理的理解。-Experimental subjects: a lexical analyzer, experimental purposes: the design, preparation, debug a subroutine lexical analysis- to identify words, deepen understanding of the princ
c
- 实现源程序输入串中注释、续行符的删除,换行符和Tab的替换,大写字母变换,得到预处理后的文本串,为单词识别做好准备。-Realization of input strings in the source notes, continued at the deleted line, newlines, and Tab replacement, capital letters transform, obtained after pretreatment of the text string, read
suanfa
- 实现识别标识符的状态转换图算法。掌握识别标识符的状态转换图的理论知识和算法实现。-Identifier to achieve recognition of the state transition map algorithm. Master identifier to identify the state transition graph theoretical knowledge and algorithms to achieve.
work
- 实现用MFCC作为特证向量的孤立词识别系统-Using MFCC as a special permit vector isolated word recognition system
CiFaFenXi
- 编译原理课程设计,用VC++6.0实现的词法分析程序。能够识别关键字、长度大于等于1的符号、去注释等功能-Principles of curriculum design compiler with VC++ 6.0 to achieve lexical analysis program. Able to identify keywords, the length of symbols greater than or equal to 1 to the Notes and other functi
FAProject
- 构造形式语言中的PDA自动机,识别相应文法对应的句子-Structural form of the language of PDA automata, identify the appropriate corresponding sentence grammar
PDAProject
- PDA构造,并且可以识别相应文法的句子(纠正,刚才上传的FAPROJECT是又穷自动机)-PDA structure, and can identify the corresponding grammatical sentences (corrected, just upload FAPROJECT is another DFA)