CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 搜索资源 - 文法分析器

搜索资源列表

  1. SLR1

    1下载:
  2. 在VC下打开LRTrans1.dsp,阅读工程LRTrans1,LRTrans1为一个加、乘(适当扩充可为四则)运算表达式的SLR语法分析器,规定其文法如下: 文法3: (0) S ->E (1) E->E+E (2) E->E*E (3) E->(E) (4) E->i 经分析其SLR(1)分析表如下(分析表按“操作符运算优先级和运算符的结合率”方法解决冲突——*优先集高于+,*和+的结合率均为左结合) -In
  3. 所属分类:Compiler program

    • 发布日期:2016-06-20
    • 文件大小:13312
    • 提供者:chivas
  1. happy

    0下载:
  2. 编译原理词法分析器的功能是利用函数之间的递归调用模拟语法树自上而下的构造过程。 改造文法:消除二义性、消除左递归、提取左因子,判断是否为LL(1)文法 -Compiler theory lexical analyzer function is to use recursive function calls between the simulation process of constructing the syntax tree from the top down. Transforma
  3. 所属分类:software engineering

    • 发布日期:2017-04-08
    • 文件大小:10837
    • 提供者:happyjack
  1. b

    0下载:
  2. 递归下降分析器的设计 首先将文法改写成EBNF形式,根据递归下降分析法基本思想编写程序。 -The design of recursive descent parser rewrite first EBNF grammar forms, according to the basic idea recursive descent analysis programming.
  3. 所属分类:VHDL-FPGA-Verilog

    • 发布日期:2017-04-04
    • 文件大小:55639
    • 提供者:卜丽娜
  1. CompilerExperiment3-syntaxAnalysis-1

    0下载:
  2. 一个小的教学用的编译器(PL0语言)方便学习《编译原理》的语法分析器LL(1)文法-Compiler Experiment PL0 for study syntax Analysis(LL1) of compiling principle
  3. 所属分类:Compiler program

    • 发布日期:2017-04-09
    • 文件大小:1350405
    • 提供者:Mrfu
  1. SeuLex

    0下载:
  2. 本源码为自行开发的兼容C文法格式的词法分析器LEX,能实现Mini C的简单词法分析功能,并作为语法分析程序的输入。开发环境为VS2008-The source code is a self-developed format compatible with C grammar, lexical analyzer LEX, Mini C to achieve a simple lexical analysis, and as the input parser. Development enviro
  3. 所属分类:Compiler program

    • 发布日期:2017-04-09
    • 文件大小:1958075
    • 提供者:sunfulin
  1. wenfafenxi

    0下载:
  2. 使用如下文法: E ? E+T | T T ? T*F | F F ? (E) | id 2. 对于任意给定的输入串(词法记号流)进行语法分析,采用LR分析器来完成。手工构造LR分析表,利用移进-归约分析算法-Use the following grammar: E ? E+ T | TT ? T* F | FF ? (E) | id 2. For any given input string (lexical token stream) parsing, the us
  3. 所属分类:Compiler program

    • 发布日期:2017-03-24
    • 文件大小:703512
    • 提供者:dmf
  1. GrammerParsers

    0下载:
  2. 利用C++语言编制一个LL(1)语法分析器,利用LL(1)控制程序根据显示栈栈顶内容、向前看符号以及LL(1)分析表,对输入符号串自上而下的分析过程。可通过消除左递归、提取左因子把非LL(1)文法改造成LL(1)文法。-Compiled using a C++ language LL (1) parser using LL (1) control program according to display the contents of the stack the stack, forward-l
  3. 所属分类:Compiler program

    • 发布日期:2017-04-02
    • 文件大小:226849
    • 提供者:杨玥
  1. zhengshi

    0下载:
  2. 词法分析器,用于c1文法的词法分析,能识别单词,并输出其类别-Lexical analyzer for parsing grammar can recognize words, and the output of its category
  3. 所属分类:Compiler program

    • 发布日期:2017-03-31
    • 文件大小:660
    • 提供者:wangdefan
  1. LL-(1)-parser

    0下载:
  2. LL(1)语法分析器设计 1.如下为给定的LL(1)文法。 G[<P>]: 1) <P>->program <D> : <T> begin <S> end {program} 2) D->i D’ {i} 3) D’->, i D’ {,} 4) D’->ε {:} 5) S->s S’ {s} 6) S’-> s S’ { } 7) S’->ε {end
  3. 所属分类:Compiler program

    • 发布日期:2017-03-24
    • 文件大小:190103
    • 提供者:浮云
  1. Design-of-operator-precedence

    0下载:
  2. 算符优先分析器设计 给定定义算术表达式的算符优先文法如下: G[E]: (1)E->E+T (2)E->E-T (3) E->T (4)T->T*F (5)T->T/F (6)T->F (7)F->P^F (8)F->P (9)P->(E) (10)P->i 编程实现此文法的算法优先分析器,并设输入的文法的句子为: (i*(i+i)-i )/i^i^i 给出输
  3. 所属分类:Compiler program

    • 发布日期:2017-03-24
    • 文件大小:198819
    • 提供者:浮云
  1. LR-parser

    1下载:
  2. LR分析器设计 给定说明语句的拓广文法G[S ]如下: (0) S ->S (1) S->v I:T (2) I->I,i (3) I->i (4) T->r 其中v代表终结符var,r代表real。 其识别规范句型活前缀的DFA及LR(0)分析表如下: 输入 状态 ACTION表 GOTO表 v i , : r # S I T 0 S2 1 1 acc 2 S4
  3. 所属分类:编译器/词法分析

    • 发布日期:2017-05-24
    • 文件大小:213164
    • 提供者:浮云
  1. 6

    0下载:
  2. 1.按要求设计实现能识别上述文法所表示语言的语法分析器,并要求输出全部分析过程; 2.要求详细描述所选分析方法针对上述文法的分析表构造过程; 3.完成对所设计语法分析器的功能测试,并给出测试数据和实验结果; 4.为增加程序可读性,请在程序中进行适当注释说明; -1. Designed and implemented as required to recognize that the grammar of the language parser, and called out al
  3. 所属分类:Graph Recognize

    • 发布日期:2017-04-01
    • 文件大小:164457
    • 提供者:张毅
  1. bianyiyuanli

    0下载:
  2. 1.按要求设计实现能识别上述文法所表示语言的语法分析器,并要求输出全部分析过程; 2.要求详细描述所选分析方法针对上述文法的分析表构造过程; 3.完成对所设计语法分析器的功能测试,并给出测试数据和实验结果; 4.为增加程序可读性,请在程序中进行适当注释说明; -1. Designed and implemented as required to recognize that the grammar of the language parser, and called out al
  3. 所属分类:Compiler program

    • 发布日期:2017-04-03
    • 文件大小:164468
    • 提供者:张毅
  1. yffxq

    0下载:
  2. LR(0)语法分析器、对一段文法进行分析 判断是否为LR(0)文法-LR (0) parser for a grammar analysis to determine whether the LR (0) grammar
  3. 所属分类:Compiler program

    • 发布日期:2017-05-22
    • 文件大小:6817520
    • 提供者:孙渺
  1. LR

    0下载:
  2. 关键词:LR分析器 LR(0)项目 文法拓广 项目集规范族 -Keywords: LR parser LR (0) item specification grammar broadening its family of itemsets
  3. 所属分类:Compiler program

    • 发布日期:2017-03-26
    • 文件大小:196954
    • 提供者:laoguo
  1. 123

    0下载:
  2. 算符优先文法处理算术表达式,算术表达式的语法分析器-Operator precedence grammar processing arithmetic expressions, arithmetic expressions parser
  3. 所属分类:Compiler program

    • 发布日期:2017-04-02
    • 文件大小:2374
    • 提供者:李保芝
  1. bianyi1

    0下载:
  2. 词法分析器。根据所给文法是进行词法分析和语法分析的依据,并将该文法中涉及到的单词信息提取到了单词符号与种别对照表中。-Lexical analyzer. According to the grammar is lexical analysis and syntax analysis is based on and related to the word grammar in information extraction to other kinds of symbols and words in
  3. 所属分类:Compiler program

    • 发布日期:2017-04-04
    • 文件大小:2623
    • 提供者:chris brown
  1. 20110915_src

    0下载:
  2. 建立一个针对LL(1)文法编译器的自动生成器。要完成此编译器的生成器需对源文件进行两遍处理:第一遍词法分析,第二遍语法分析。语法分析程序用LL(1)语法分析方法。首先输入定义好的文法书写文件(所用的文法可以用LL(1)分析),然后建立词法分析器,包括词法分析主程序、扫描器部分、关键字表等。经词法分析后分别计算所输入的文法的每个非终结符号的FIRST集合,每个非终结符号的FOLLOW集合,以及每个规则的SELECT集合,并判断任意一个非终结符号的任意两个规则的SELECT集的交集是不是都为空,如果
  3. 所属分类:Compiler program

    • 发布日期:2017-04-06
    • 文件大小:37388
    • 提供者:yin
  1. first-follow-set--LR-LALR..

    0下载:
  2. 动态文法-规范LR分析器&LALR分析器,还有first,follow集的求解算法-Dynamic grammar- standard LR parser & LALR parser, as well as first, follow set of algorithms for solving
  3. 所属分类:Compiler program

    • 发布日期:2017-04-09
    • 文件大小:1918127
    • 提供者:guoxian
  1. JavaGrammar-

    3下载:
  2. Java语言子集语法、语义分析器 实现的Java语言子集文法 <Sw>  while(Er)S <Er>  Vc < Vc | Vc > Vc <S>  标识符= Ex // 标识符使用词法分析识别结果 <Vc>  标识符 | 整常数 // 标识符、整场数使用词法分析识别结果 <Ex>  Vc P Ex | Vc
  3. 所属分类:Compiler program

    • 发布日期:2016-06-10
    • 文件大小:805888
    • 提供者:genganpeng
« 1 2 ... 4 5 6 7 8 910 11 12 »
搜珍网 www.dssz.com