Publication View

LR Parsing of CFGs with restrictions (1989)

Abstract
TR-COSC 03/89. A method for extending the LR parsing method to enable it to deal with context free grammars containing imbedded restrictions is presented. Such restrictions are usually dealt with in LR based parsers by executing semantic code outside the context of the LR method. By including such restrictions within the LR method itself, potential shift-reduce and reduce-reduce conflicts can be resolved and provide greater control over the language accepted. The proposed method can be easily incorporated into existing LR based parser generating systems.

Publication details
Download http://hdl.handle.net/10092/3066
Publisher University of Canterbury, University of Canterbury. Computer Science and Software Engineering
Repository UC Research Repository (New Zealand)
Keywords LR parsing, semantic restrictions, compilers, Fields of Research::280000 Information, Computing and Communication Sciences::280300 Computer Software::280303 Programming languages
Type Technical Report
Language English