Delegating Compiler Objects: An Object-Oriented Approach to Crafting Compilers
Blekinge Institute of Technology, Department of Computer Science and Business Administration1995 (English)Report (Other academic)
Conventional compilers often are large entities that are highly complex, difficult to maintain and hard to reuse. In this article it is argued that this is due to the inherently functional approach to compiler construction. An alternative approach to compiler construction is proposed, based on object-oriented principles, which solves (or at least lessens) the problems of compiler construction. The approach is based on delegating compiler objects (DCOs) that provide a structural decomposition of compilers in addition to the conventional functional decomposition. The DCO approach makes use of the parser delegation and lexer delegation techniques, that provide reuse and modularisation of syntactical, respectively, lexical specifications.
Place, publisher, year, edition, pages
Blekinge Tekniska Högskola Forskningsrapport, ISSN 1103-1581 ; 10
compiler techniques, reuse
IdentifiersURN: urn:nbn:se:bth-00028Local ID: oai:bth.se:forskinfo6A1E139A84D3DD63C12568A3002CA9E1OAI: oai:DiVA.org:bth-00028DiVA: diva2:837928