| Related articles |
|---|
| Semantic actions in LR parser cosc19py@jane.uh.edu (1993-04-02) |
| Re: Semantic actions in LR parser roy@prism.gatech.edu (1993-04-02) |
| Re: Semantic actions in LR parser karsten@tfl.dk (1993-04-03) |
| Semantic Actions and LR(k) pwp@cs.indiana.edu (Paul Purdom) (1993-04-05) |
| Re: Semantic actions in LR parser mauney@csljon.csl.ncsu.edu (1993-04-05) |
| Semantic actions in LR parser clark@zk3.dec.com (1993-04-06) |
| Re: Semantic actions in LR parser wand@ccs.northeastern.edu (1993-04-07) |
| Semantic actions in LR parser clark@zk3.dec.com (1993-04-14) |
| [1 later articles] |
| Newsgroups: | comp.compilers |
| From: | roy@prism.gatech.edu (Roy Mongiovi) |
| Keywords: | LR(1), parse |
| Organization: | Georgia Institute of Technology |
| References: | 93-04-008 |
| Date: | Fri, 2 Apr 1993 15:01:24 GMT |
LR parsers can only perform semantic actions when the recognize a handle
(right-hand side). You can either split up the right-hand sides into
pieces so that the pieces end where you need the semantic actions, or you
can stick in epsilon productions whose only purpose is to cause semantic
actions.
--
Roy J. Mongiovi Systems Support Specialist Information Technology
Georgia Institute of Technology, Atlanta, Georgia 30332-0715
roy@prism.gatech.edu
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.