Technical Reports (CIS)

Document Type

Technical Report

Date of this Version

5-1-1981

Comments

University of Pennsylvania Department of Computer and Information Science Technical Report No. MS-CIS-80-40.

Abstract

This paper presents five different LR parser generators and an error recovery method which is derived directly from the LR parser. The parsers presented include the original LR (1) parser defined by Knuth. The SLR(1) and LALR(1) parsers defined by DeRemer, and the weak and strong compatible LR parsers presented by Pager. All five parsers have been implemented by the author using two programs. Furthermore, the implementation of the SLR (1) parser generator includes an error recovery method and produces an SLR(1) parser with error recovery built in.

Share

COinS
 

Date Posted: 14 November 2007