• DocumentCode
    750586
  • Title

    Evaluating and Improving Recursive Descent Parsers

  • Author

    Cohen, Jacques ; Sitver, Robin ; Auty, David

  • Author_Institution
    Department of Physics, Brandeis University
  • Issue
    5
  • fYear
    1979
  • Firstpage
    472
  • Lastpage
    480
  • Abstract
    Time formulas are symbolic formulas which express the execution time of a program as a function of its input data and of variables representing the time to execute individual operations (e.g., push, pop, transfer, etc.). It is shown that in many cases the time formulas for recursive descent parsers may be generated automatically by a simple inspection of the parser code. These time formulas are instrumental in estimating the gains attained by various types of optimizations. Several of these optimizations are presented and their efficiency gains are estimated. A parser for a simple programming language is generated, optimized, and evaluated using the proposed techniques.
  • Keywords
    Efficiency; optimization; parser analysis; top-down parsing; transformation rules; Computer aided instruction; Computer languages; Computer science; Inspection; Instruments; Physics; Efficiency; optimization; parser analysis; top-down parsing; transformation rules;
  • fLanguage
    English
  • Journal_Title
    Software Engineering, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0098-5589
  • Type

    jour

  • DOI
    10.1109/TSE.1979.234208
  • Filename
    1702657