Computing Reviews
Today's Issue Hot Topics Search Browse Recommended My Account Log In
Review Help
Search
Producing the left parse during bottom-up parsing
Slivnik B., Vilfan B. Information Processing Letters96 (6):220-224,2005.Type:Article
Date Reviewed: Nov 30 2006

Bottom-up parsing can be applied to all deterministic context-free languages. On the other hand, left parsing also has some advantages, for example, in error reporting. The left parse of a substring can be pushed on the stack together with the symbol it is reduced to. This method is reviewed in section 2 of this paper, but it does not yield the first production of the left parse until parsing is finished.

Section 3 shows how the missing prefix of the parse could be computed during left-right (LR) parsing if a certain sequence of LR(0)-items were known. The next section defines an automaton, based on the LR(k)-items, which supports the computation of the missing information. The detailed algorithm is presented in section 5. In some situations, the generation of productions may be delayed, but it is resumed as early as possible. This well-structured research paper is a valuable contribution to parsing theory.

Reviewer:  H. J. Schneider Review #: CR133653 (0711-1106)
Bookmark and Share
  Reviewer Selected
Featured Reviewer
 
 
Languages And Compilers (B.1.4 ... )
 
 
Formal Languages (F.4.3 )
 
Would you recommend this review?
yes
no
Other reviews under "Languages And Compilers": Date
Speed tunable finite state machine compiler: ZEPHCAD
Sato H., Sugiura Y., Fujita M. Microprocessors & Microsystems 14(1): 17-20, 1990. Type: Article
Feb 1 1991
Embedded controller FORTH for the 8051 family
Payne W., Academic Press Prof., Inc., San Diego, CA, 1990. Type: Book (9780125475709)
May 1 1991
Generation of design verification tests from behavioral VHDL programs using path enumeration and constraint programming
Vemuri R., Kalyanaraman R. IEEE Transactions on Very Large Scale Integration (VLSI) Systems 3(2): 201-214, 1995. Type: Article
Jul 1 1996
more...

E-Mail This Printer-Friendly
Send Your Comments
Contact Us
Reproduction in whole or in part without permission is prohibited.   Copyright 1999-2024 ThinkLoud®
Terms of Use
| Privacy Policy