搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
jellrap
- 形式文法分析JAVA工具包 本JAVA Applets程序提供对LL(1),LL(2)和LR(1)文法分析处理,用户可以输入任何满足条件的形式文法,通帮过系统的提示和帮助构造出相应文法的分析表,以及动态显示分析过程.本JAVA包能够很好地帮助学生理解语法分析器的制作过程和语法分析器的工作原理. -form grammar analysis of the Java tool kit for Java Applets procedures for LL (1) LL (2) and LR (
LL1_a
- 又一个LL(1)的分析器,针对文法// { E->-E|(E)|VX , X->-E|^ , V->iA , A->(E)|^ } // Expr : E ExprTail : X Var : V VarTail : A id : i ,是对编译原理初学者的一个帮助。-also an LL (1) analyzers, the grammar / / (E -
LL(1)
- LL1文法分析器,可进行句子分析等功能。运行环境:java。by风为衣裳-LL1 grammar parser, sentence analysis. Operating environment: java. by the wind for the clothes
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
LL1语法分析
- (1)对输入文法,它能判断是否为LL(1)文法,若是,则转(2);否则报错并终止; (2)输入已知文法,由程序自动生成它的LL(1)分析表; (3)对于给定的输入串,应能判断识别该串是否为给定文法的句型。
Null
- 实验一:求出能推出空的非终结符 实验二:求所有非终结符的FIRST集合 实验三:求所有非终结符的FOLLOW集合 实验四:求所有产生式的SELECT集合,作LL(1)文法判别-first,Find all nonterminal FIRST collection Find all nonterminal FOLLOW collection Find all production SELECT collection
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.
b3
- LL(1) 文法分析 c语言实现 实现基本c语言分析,附带文法-LL (1) grammar analysis c language realization of the basic c language analysis, with grammar
LL1Grammar
- 主要是编译原理中的LL(1)文法进行了编程实现-The main principle is to compile LL (1) grammar for the programming
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
LL1
- 输入已经消除左递归的以及提取公共左因子的LL(1)文法,再输入相应的表达式,若分析成功,则在递归输出过程中输出"acc",若不成功,则有相应的报错以及位置指名。注意,要把同一个非终结符的产生式分成单个输入。它会自动计算first,follow,预测分析表的构造,但并不输出。-Input has to eliminate left recursion and extract the public left factor of LL (1) grammar, then input the corre
LL1_Grammar
- LL(1)文法分析器的实现,对于一切文法进行分析是否为LL(1)文法。若是,则在窗口内显示分析过程以及结果-LL (1) grammar analyzer
LL
- 编译原理LL(1)文法分析器,Java编程-Compiler theory LL (1) grammar analyzer, Java programming
LL(1)
- 基于vc++的分来了编程,文件录入所需分析文法,生成预测分析表,输入字符串自动执行并输出分析过程-Based on the vc++ of the points to the programming, file input required analysis of grammar, generate the forecast analysis table, the input string automatically and output analysis process
BianYi_B5_LL1
- 本次实验使用windows 7的visual C++ 6.0软件,使用mfc编程。LL(1)文法是自上而下的分析方法,首先接受用户输入的一个文法,再分别构造文法中每个非终结符的FIRST、FOLLOW和SELECT集合,根据产生式的SELECT集合判断是否为LL(1)文法,如果是LL(1)文法,再根据SELECT集构造LL(1)分析表。-The experiment uses windows visual C++ 6.0 software 7, the use mfc programming.
compiler
- 编译原理:词法分析器、LL(1)文法、LR(1)文法的实现。基于Qt实现了图形界面。-Compiler theory: lexical analyzer, LL (1) grammar, LR (1) grammar implementations. Qt-based graphical interface to achieve.
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
if-else-program
- C/C++开发的编译原理相关程序:IF-ELSE条件语句的翻译程序设计;利用LL(1)文法,对以文件形式输入的if条件语句进行词法、语法及语义分析,并最终得到以四元式形式表示的中间代码,要求将词法及语法分析结果以文件形式输出。-Compiler principles related procedures: translation program designed IF-ELSE conditional statement use LL (1) grammar, for if condition
ll1
- 实现自动化的LL(1)文法识别,并有GUI实现界面(Automatic implementation of LL (1) grammar)