A syntax-directed compiler/compiler emitting LR(1) object-oriented code

This is a study into applying Object-Oriented principles to a LR(1) compiler/compiler, its grammar language, and the emission of output tables containing class objects. The grammar's entities--rules, subrules, and terminals--are viewed as class structures defined in the C$\sp{++}$ language. Wov...

Full description

Bibliographic Details
Main Author: Bone, David
Format: Others
Published: 1998
Online Access:http://spectrum.library.concordia.ca/734/1/MQ39110.pdf
Bone, David <http://spectrum.library.concordia.ca/view/creators/Bone=3ADavid=3A=3A.html> (1998) A syntax-directed compiler/compiler emitting LR(1) object-oriented code. Masters thesis, Concordia University.
Description
Summary:This is a study into applying Object-Oriented principles to a LR(1) compiler/compiler, its grammar language, and the emission of output tables containing class objects. The grammar's entities--rules, subrules, and terminals--are viewed as class structures defined in the C$\sp{++}$ language. Woven into the grammar's language are constructs supporting syntax-directed C$\sp{++}$ code. Object-Oriented design decisions are discussed in supporting the grammar's symbols and various bottom-up behaviors, the definition of the grammar language documented, and executed grammar examples illustrated with commentary.