English  |  正體中文  |  简体中文  |  全文笔数/总笔数 : 60868/93650 (65%)
造访人次 : 1151558      在线人数 : 23
RC Version 7.0 © Powered By DSPACE, MIT. Enhanced by NTU Library & TKU Library IR team.
搜寻范围 查询小技巧:
  • 您可在西文检索词汇前后加上"双引号",以获取较精准的检索结果
  • 若欲以作者姓名搜寻,建议至进阶搜寻限定作者字段,可获得较完整数据
  • 进阶搜寻


    jsp.display-item.identifier=請使用永久網址來引用或連結此文件: https://tkuir.lib.tku.edu.tw/dspace/handle/987654321/37723


    题名: Parsing strong LL(k) languages with a modified LL(1) parsing table and a lookahead table
    作者: 劉虎城;林尤
    贡献者: 淡江大學資訊工程學系
    关键词: 剖析表;正則剖析法;文法;語法分析;編譯器;Parsing Table;Canonical Parsing;Grammar;Syntax Analysis;Compiler
    日期: 1991-12
    上传时间: 2010-01-11 14:03:36 (UTC+8)
    摘要: Traditionally, we shall not construct a parsing table for a strong LL(k) grammar for k>1, because a canonical parsing table for such a grammar is too space-consuming to construct a real one. But we observe that parsing a string in the strong LL(k) language is not always necessary to construct a huge parsing table. In many cases, a string in the strong LL(k) language can be parsed successfully with a modified parsing table whose size is the same as that of an LL(1) and a small lookahead table. In this paper, we present a parsing technique to parse the strong LL(k) languages with a modified LL(1) parsing table and a lookahead table. Two algorithms are given to show the canonical parsing method for a strong LL(k) grammar. We present another two algorithms to illustrate how to construct a modified LL(1) parsing table and a lookahead table and how to parse strong LL(k) languages with these two tables. Our method can reduce the parsing table size considerably, of course, will reduce the ability of handling error recovery, too. An error recovery scheme is proposed to remedy this weakness. Several practical methods that can be used to parse strong LL(k) languages are also compared. Finally, we discuss how to apply this method to parse LR(k) languages with a similar modified LR(1) parsing table and a lookahead table.
    關聯: 中華民國八十年全國計算機會議論文集(二)=Proceedings of National Computer Symposium 1991, Republic of China, Vol 2,頁714-719
    显示于类别:[資訊工程學系暨研究所] 會議論文

    文件中的档案:

    档案 描述 大小格式浏览次数
    index.html0KbHTML169检视/开启
    Parsing+Strong+LL(k)+Languages+with+a+Modified+LL(1)+Parsing+Table+and+a+Lookahead+Table_英文摘要.pdf90KbAdobe PDF170检视/开启

    在機構典藏中所有的数据项都受到原著作权保护.

    TAIR相关文章

    DSpace Software Copyright © 2002-2004  MIT &  Hewlett-Packard  /   Enhanced by   NTU Library & TKU Library IR teams. Copyright ©   - 回馈