Abstract
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 language | English |
|---|---|
| Title of host publication | Computer Aided Systems Theory - EUROCAST 2007 - 11th International Conference on Computer Aided Systems Theory, Revised Selected Papers |
| Publisher | IUCTC Las Palmas de Gran Canaria |
| Pages | 130-137 |
| Number of pages | 8 |
| ISBN (Print) | 9783540758662 |
| DOIs | |
| Publication status | Published - 2007 |
| Event | International Conference Computer Aided Systems Theory EUROCAST 2007 - Las Palmas, Spain Duration: 12 Feb 2007 → 17 Feb 2007 http://www.ulpgc.es |
Publication series
| Name | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) |
|---|---|
| Volume | 4739 LNCS |
| ISSN (Print) | 0302-9743 |
| ISSN (Electronic) | 1611-3349 |
Conference
| Conference | International Conference Computer Aided Systems Theory EUROCAST 2007 |
|---|---|
| Country/Territory | Spain |
| City | Las Palmas |
| Period | 12.02.2007 → 17.02.2007 |
| Internet address |
Keywords
- Compiler
- Compiler Generator
- Design Patterns
- Interpreter
- Visitor
- EBNF
- Attributed Grammars
- Genericity
- Design patterns
- Attributed grammars
- Compiler generator