搜索资源列表
WordAnalyze
- 用c编的能认一些保留字,表示符和正实数的词法分析器- Arranges with c can recognize some reserved words, indicates Fu Hezheng real number morphology analyzer
Lexical-analyzer 简单的词法分析器
- 简单的词法分析器 1. 一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。 2.依次输出各个单词的内部编码及单词符号的自身值。 3.遇到错误时显示“无法识别的单词”,然后跳过错误部分继续显示 -Simple lexical analyzer 1. A process of reading words from the input source program, identify the meaning of
LexicalanalysisofC
- C词法分析程序,能够识别浮点型,科学计数型-C lexical analysis procedure to recognize floating-point type, scientific Counting
bianyi
- 实现简单编译器功能,能够识别输入字符,以及个别的按键,方便-Simple compiler function, able to recognize input characters, as well as the individual buttons to facilitate the
wybyyl
- 编译原理之词法识别 利用有限自动机识别词法 初始化保留字表和标示符表,识别非法字符-Compiler theory of lexical identification using finite automata recognize lexical reserved words table and initialize the table identifier to identify illegal characters
YFFXQ
- 使用递归子程序法设计一个语法分析程序,自顶向下分析方法. 1、使用递归下降分析算法分析表达式文法: exp ::= exp addop term | term addop ::= + | - term ::= term mulop factor | factor mulop ::= * | / factor ::= (exp) | number 其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到number的值。 2、该
vkproject
- VK3212是UART接口的2通道UART器件。VK3212实现UART扩展2个串口(UART)的功能。 扩展的子通道的UART具备如下功能特点: 每个子通道UART的波特率、字长、校验格式可以独立设置,最高可以提供1Mbps的通信速率。 每个子通道可以独立设置工作在IrDA红外通信、 9位网络地址自动识别、软件自动流量控制、 广播接收等高级工作模式下。 每个子通道具备收/发独立的16 BYTE FIFO,FIFO的中断为4级可编程条件触发点。 VK3212采用SSOP1
LexicalParsers
- 对给定的程序通过词法分析器能够识别一个个单词符号,并以二元式(单词种别码,单词符号的属性值)显示。而本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示。-The procedures given by the lexical analyzer to recognize one word symbols, and binary-type (word types of ID, the word symbol property value) are displayed. While the
zhengshi
- 词法分析器,用于c1文法的词法分析,能识别单词,并输出其类别-Lexical analyzer for parsing grammar can recognize words, and the output of its category
bianyiyuanli
- 1.按要求设计实现能识别上述文法所表示语言的语法分析器,并要求输出全部分析过程; 2.要求详细描述所选分析方法针对上述文法的分析表构造过程; 3.完成对所设计语法分析器的功能测试,并给出测试数据和实验结果; 4.为增加程序可读性,请在程序中进行适当注释说明; -1. Designed and implemented as required to recognize that the grammar of the language parser, and called out al
LEX
- 简单的词法分析器,是作为课程设计来做的,识别单词-Simple lexical analyzer is a program designed to do, and recognize words
lex_simple
- 简单的lex编程,详细见英文描述 Running the Lex program 1. Write the Lex specifications as described above in a file, say, prog1.l 2. On moon.cse.yzu.edu.tw, do the following: flex prog1.l (Produces lex.yy.c as the output) gcc lex.yy.c -lfl (Compi
lexical-analyzer
- 对给定的程序通过词法分析器能够识别一个个单词符号,并以二元式(单词种别码,单词符号的属性值)显示。而本程序则是通过对给定路径的文件的分析后以单词符号和文字提示显示。-The procedure given by the lexical analyzer to recognize one word symbols, and binary type (other types of code word, the word symbols of attribute values) shows. And
Syntax-analyzer
- 编制递归下降法的语法分析器 通过设计、编制、调试一个典型的语法分析程序,能识别由加+、乘*、括号()、操作数所组成的算术表达式,其文法如下: E→TE E →+TE ∣ε T→FT T →*FT ∣ε F→(E)∣i 1.程序功能(举例) 输入:#i1*(i2+i3)# 输出:SUCCESS 输入:# i1*( i2+i3# 输出:FOUND ERROR -Recursive Descent parser prepared by the des
Semantic
- 一个简单的包括词法、语法、语义分析的编译器,只能识别简单的表达式,方法LR(1)-A simple compiler, including lexical, syntactic, semantic analysis can only recognize the simple expression method LR (1)
