An Object-oriented and Generic Compiler Generator

Michael Pitzer, Heinz Dobler

Research output: Chapter in Book/Report/Conference proceedingsConference contributionpeer-review


Object-oriented software development has become the de-facto standard programming paradigm used in modern software systems. Additionally genericity has grown more popular since the enhancement of Java and C#. This paper attempts to reconsider the principles of compiler construction from this modern, object-oriented point of view. We present a multi-paradigm, mainly ob-ject-oriented and generic approach for creating a compiler generator using a combination of the Interpreter pattern and the Visitor pattern. A prototype of such an object-oriented and generic compiler generator has also been developed using C# 2.0 and will serve as a reference to explain the design throughout this paper.
Original languageEnglish
Title of host publicationComputer Aided Systems Theory - EUROCAST 2007 - 11th International Conference on Computer Aided Systems Theory, Revised Selected Papers
PublisherIUCTC Las Palmas de Gran Canaria
Number of pages8
ISBN (Print)9783540758662
Publication statusPublished - 2007
EventInternational Conference Computer Aided Systems Theory EUROCAST 2007 - Las Palmas, Spain
Duration: 12 Feb 200717 Feb 2007

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume4739 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349


ConferenceInternational Conference Computer Aided Systems Theory EUROCAST 2007
CityLas Palmas
Internet address


  • Compiler
  • Compiler Generator
  • Design Patterns
  • Interpreter
  • Visitor
  • EBNF
  • Attributed Grammars
  • Genericity
  • Design patterns
  • Attributed grammars
  • Compiler generator


Dive into the research topics of 'An Object-oriented and Generic Compiler Generator'. Together they form a unique fingerprint.

Cite this