GENERATING LR(1) PARSERS OF SMALL-SIZE

被引:0
|
作者
GALVEZ, JF [1 ]
机构
[1] UNIV NICE SOPHIA ANTIPOLIS, CNRS, LAB I3S, F-06560 VALBONNE, FRANCE
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Classic LR(1) parsing methods have the problem of producing too large parsing tables for programming language grammars. An alternative is to build an automaton that combines the lookahead symbol with reading the parsing stack from its top, to determine the next parsing action. The building procedure for such a parser and its use for parsing are presented through an example grammar. Results from an experimental implementation of the parser generator show important reductions in automaton size in comparison with standard LR methods. Some discussion is presented, suggesting that the theoretical drawbacks of the method are of relatively little practical importance.
引用
收藏
页码:16 / 29
页数:14
相关论文
共 50 条
  • [21] LR(0) GRAMMARS GENERATED BY LR(0) PARSERS
    KEMP, R
    ACTA INFORMATICA, 1981, 15 (03) : 265 - 280
  • [22] A SMALL-SIZE PULSE MODULATOR
    PANASYUK, VS
    SAMOSHENKOV, YK
    SIMANOVSKII, MF
    INSTRUMENTS AND EXPERIMENTAL TECHNIQUES, 1984, 27 (05) : 1057 - 1059
  • [23] GENERATING PARSERS WITH PCYACC
    LANE, A
    DR DOBBS JOURNAL, 1989, 14 (06): : 76 - &
  • [24] INCREMENTAL GENERATION OF LR-PARSERS
    HORSPOOL, RN
    COMPUTER LANGUAGES, 1990, 15 (04): : 205 - 223
  • [25] OPTIMIZING DIRECTLY EXECUTABLE LR PARSERS
    PFAHLER, P
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 477 : 179 - 192
  • [26] Towards Efficient, Typed LR Parsers
    Pottier, Francois
    Regis-Gianas, Yann
    ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2006, 148 (02) : 155 - 180
  • [27] Construction of efficient generalized LR parsers
    Alonso, MA
    Cabrero, D
    Vilares, M
    AUTOMATA IMPLEMENTATION, 1998, 1436 : 7 - 24
  • [28] SEMANTIC ROUTINES AND LR(K) PARSERS
    PURDOM, P
    BROWN, CA
    ACTA INFORMATICA, 1980, 14 (04) : 299 - 315
  • [29] NEATIBP 1.0, a package generating small-size integration-by-parts relations for Feynman integrals
    Wu, Zihao
    Boehm, Janko
    Ma, Rourou
    Xu, Hefeng
    Zhang, Yang
    COMPUTER PHYSICS COMMUNICATIONS, 2024, 295
  • [30] OPPORTUNITIES FOR THE USE OF THE SMALL-SIZE ACCELERATOR VGIK-1
    Vinnikiov, D. V.
    Buravilov, I., V
    Yuferov, V. B.
    Ponomarev, A. N.
    Tkachev, V., I
    PROBLEMS OF ATOMIC SCIENCE AND TECHNOLOGY, 2019, (06): : 115 - 121