搜索资源列表
suanfu
- 算符优先分析法。根据你输入的文法,程序为你生成算符优先分析表,根据输入语句分析句子。基本功能具备-The operator precedence analysis method. Operator priority analysis table is generated for you based on your input grammar, procedures, analysis of sentences based on the input statement. Basic functio
word
- 用C实现了一个建议的类Pascal语言的词法分析器,实现从源程序中分离出各种单词的方法,进行分析。程序的输入与输出全是以文件的形式。-C implementation of a proposed class Pascal language lexical analyzer to achieve a variety of words from the source separation method for analysis. The input and output of the program
code
- 对于任意给定的输入串(词法记号流)进行语法分析,递归下降方法和非递归预测分析方法可以任选其一来实现。-For any given input string (lexical token stream) parsing, recursive descent methods and non-recursive predictive analysis method can either be achieved.
yufa
- 语法分析程序的输入文件为语法分析产生的token串,并在文件最后一列加上了一个#号,代表语法归约结束,程序采用的是递归子程序的方法,如果归约成功会输出Success,如果归约失败,会返回归约到token串的哪个元素出现错误,已经相应的未归约成功的文法产生式是哪条-Parser to parse the input file generated token string, and the last one in the file plus a# sign, on behalf of the end
Syntax-analysis
- 采用递归下降语法分析方法对输入的字符串进行语法分析,实现对词法程序提供的单词序列的语法检查和结构分析 待分析的Traning语言的语法用扩充的BN表示: 1.<程序>::=function<语句串>endfunc 2.<语句串>::=<语句>{ <语句>} 3.<语句>::=<赋值语句> 4.<赋值语句>::=ID=<表达式> 5.<表达式>::=<
yak
- 为王晓斌老师编译原理实验的语法分析器。采用递归下降方法。输入文件为“sample.dyd”,输入文件为各种字符表以及出错文件。-Wang Xiaobin teacher compiler principle experiment for the parser. Recursive descent method. Enter the file as "sample.dyd", the input file for the various character tables, and error fi
lexical-analyzer
- 用递归下降法编写一个语法分析程序,使之与词法分析器结合,能够根据语言的上下文无关文法,识别输入的单词序列是否文法的句子。-Write a parser using recursive descent method, combined with the lexical analyzer makes it possible depending on the context-free grammar of language, whether the input word sequence recogn
Cell-Tracking-algorithm
- START set the matlab path based to the current folder, then open an interface with three button: initialization, start and stop. The father folder should contain a folder named WDETV2 with the Matlab code, a folder named GUI with this start
Cell-Detection-system
- START set the matlab path based to the current folder, then open an interface with three button: initialization, start and stop. The father folder should contain a folder named WDETV2 with the Matlab code, a folder named GUI with this start
yufafenxi
- 熟悉判断LL(1)文法的方法及对某一输入串的分析过程。,学会构造LL(1)语法分析表,完成语法分析器程序,并分析一段程序,输出分析过程 -Familiar judgment LL (1) grammar of a method and the input string analysis process. Structure LL (1) parsing table, complete parser program and a program to analyze the output ana
yufafenxi
- 使用的文法如下: E ? TE ¢ E ¢ ? + TE ¢ | e T ? FT ¢ T ¢ ? * FT ¢ | e F ? (E) | id 对于任意给定的输入串(词法记号流)进行语法分析,通过递归下降方法和非递归预测分析方法来实现(The syntax analysis of any given input string (lexical token stream) is implemented by recursive desc
grammar
- 预测分析法(LL(1)方法)的基本思想是:从文法开始符S出发,从左到右扫描源程序,每次通过向前查看 1 个字符,选择合适的产生式,生成中间推导过程以及句子的最左推导。本程序可以输入预测分析表,输出最左推导和中间过程。(The basic idea of prediction analysis method (LL (1)) is to start from the grammar start symbol S, and scan the source program from left to r