搜索资源列表
TLL1h
- 消除左递归的文法来使文法满足进行确定自顶向下分析的条件 一个LL(1)分析法的语法分析器,已通过测试。 -Elimination of left recursive grammar to the grammar to meet the parser to determine the top-down analysis of the conditions of an LL (1) analysis method has been tested.
ll1
- LL(1)文法的实现,主要包括文法的读取、消除左递归、求First集、Follow集、Select集,生成预测分析表,对给定句子分析是否符合文法。-LL (1) grammar implementations, read mainly include grammar to eliminate left recursion, seeking First set, Follow Set Select set generate predictive analysis table, analysis m
Lexical-Analysis
- 北邮编译原理与技术,LL(1)语法分析程序-Compiler theory, LL (1) parsing program
firstafollow
- 编译原理中,采用LL(1)语法分析法时 1.求每个文法符号的的first集 2.求每个非终结符的follow集-First set of compiler theory, LL (1) syntax analysis. Seeking each grammar symbol. Seeking of each nonterminal follow set
forecast_analysis_chart_construction
- 编译原理中,采用LL(1)语法分析法时 1.求每个文法符号的的first集 2.求每个非终结符的follow集-First set of compiler theory, LL (1) syntax analysis. Seeking each grammar symbol. Seeking of each nonterminal follow set
analysis
- 编写语法分析程序,实现对算术表达式的语法分析。要求所分析算术表达式由如下的文法产生: E->E+T|E-T|T T->T*F|T/F|F F->id|(E)|num 实验要求:在对输入表达式进行分析的过程中,输出所采用的产生式。 编程实现算法4.2,为给定文法自动构造预测分析表。 编程实现算法4.1,构造LL(1)预测分析程序。-Write a parser, parsing arithmetic expressions. Requirem
compiler
- 本编译器主要有四部分功能: 1、词法分析 编制一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(遇到错误时可显示“Error”,然后跳过错误部分继续显示)。 2、语法分析之递归下降分析 递归下降分析法的前提是文法必需为LL(1)文法,此功能为验证性功能,已经给出文法,输入一符号串,验证是否属于该文法的句子即可。 3、语法分析之LL(1)预测分析 此
LL1fx
- 编译原理中的LL(1)语法分析程序,帮助学生了解编译器的工作过程-Compilation principle of LL (1) grammar analysis program and help students to understand the working process of the compiler
PCA
- PCA分析,主成分分析算法的源代码,输入矩阵就能够完成PCA分析,方便易用,算法简洁易用。-Pca Analyze, The source code of PCA method, input matrix and you ll get the result, it is simple to use and the source code is very clear.
LL_gramer_analysis
- 分析文法是否为LL文法,且文法为LL(1)文法。采用MFC界面开发,深入理解链表和对字符串的操作。-Whether the LL grammar analysis grammar
calacomplie
- 设计多个类,实现整数算术表达式的翻译与计算,其中包括: 1. 识别输入字符串中的整数和各种运算符号 2. 判断输入字符串是否满足整数算术表达式的语法规则 3. 对满足语法规则的字符串,采用递归下降分析法、LL(1)分析法、优先分析法或LR分析法,建立输入字符串的语法树 4. 根据语法树,将输入字符串翻译成中间的四元式代码表示 5. 根据四元式代码,计算整个表达式的值并输出 6. 设计合理的输入、输出界面-A program to calculate the result
compiler
- 设计并实现SNL程序设计语言的编译程序; 四个模块: 词法分析模块 语法分析模块(递归下降方法) 语法分析模块(LL(1)方法) 语义分析模块 -The compiler source code
VB
- 编译原理实验报告 实验一:词法分析设计 实验二:LL(1)分析法 实验三:逆波兰式的产生及计算 实验四:LR(1)分析法 实验五:应用DAG进行局部优化 -Compiler principle experiment report Experiment 1: lexical analysis design Experiment two: LL (1) analysis method Experiment three: inverse caus
non-recursive
- 建立文法及其LL(1)分析表表示的数据结构,设计并实现相应的预测分析器,对源程序经词法分析后生成的二元式代码流进行预测分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。-提示:" s"以后的内容没有被翻译,单次翻译最多1000字 努力翻译中,请稍后… A grammar and LL (1) of the table that the data structure, design and implement the corresponding prediction
d_g_x_j_wenfafenxi
- 利用递归下降法实现LL(1)文法分析源程序,比较简单易懂,可以参考。-Use of recursive descent LL (1) grammar analysis of source code is relatively simple to understand, you can refer.
c
- 为给定编程语言设计语法分析器其内容包含LL(1)预测分析表、语法分析器的处理流程等-program compoundstmt stmt ifstmt | whilestmt | assgstmt | compoundstmt compoundstmt { stmts } stmts stmt stmts | ifstmt if ( boolexp
code
- 北邮大三上编译原理,语法分析程序源代码,有:LL(1)语法分析算法,LR(1)语法分析算法。-BUPT junior on compiler theory, syntax analysis program source code, there are: LL (1) parsing algorithm, LR (1) parsing algorithms.
b3
- LL(1) 文法分析 c语言实现 实现基本c语言分析,附带文法-LL (1) grammar analysis c language realization of the basic c language analysis, with grammar
Compile_Lab3
- LL(1)语法分析设计原理与实现技术。语法分析的设计方法和实现原理;LL(1 )分析表的构造;LL(1)分析过程;LL(1)分析器的构造-LL (1) parsing design principles and implementation techniques. Syntax analysis methods and principles of design LL (1) parsing table structure LL (1) analysis process LL (1) par
compile_lab2
- 递归下降分析。描述算术表达式的LL(1)文法的递归下降分析程序 G[E]: E→TE′ E′→ATE′|ε T→FT′ T′→MFT′|ε F→ (E)|i A→+|- M→*|/-Recursive descent. Descr iption arithmetic expressions LL (1) grammar recursive descent parser G [E]: E → TE ' E