Applying reflection in object-oriented software design

thesis work performs a series of experiments on applying reflection technique to improve software design. First, a REFLECTIVE V ISITOR pattern was captured to improve the traditional VISITOR pattern. Reflection enables a visitor to perform a run-time dispatch action on itself. The cyclic dependencie...

Full description

Bibliographic Details
Main Author: Mai, Yun
Format: Others
Published: 2001
Online Access:http://spectrum.library.concordia.ca/1484/1/MQ64060.pdf
Mai, Yun <http://spectrum.library.concordia.ca/view/creators/Mai=3AYun=3A=3A.html> (2001) Applying reflection in object-oriented software design. Masters thesis, Concordia University.
id ndltd-LACETR-oai-collectionscanada.gc.ca-QMG.1484
record_format oai_dc
spelling ndltd-LACETR-oai-collectionscanada.gc.ca-QMG.14842013-10-22T03:41:31Z Applying reflection in object-oriented software design Mai, Yun thesis work performs a series of experiments on applying reflection technique to improve software design. First, a REFLECTIVE V ISITOR pattern was captured to improve the traditional VISITOR pattern. Reflection enables a visitor to perform a run-time dispatch action on itself. The cyclic dependencies between the visitor structure and the element structure are broken, thus both of them can be reused independently. Secondly, a parser framework was developed by applying several patterns. Especially, the REFLECTION pattern is used in the design of dynamically handling a parsing process by separating the system into two levels. The base-level defines the grammar rules. The meta-level handles the complex relationships of these rules. Reflection technique is used to discover grammar rules at run-time and determines the parsing order. Third, a dynamic object model was defined for a virtual machine that can support reflection. We demonstrated Forman's theory by developing a simplified object model based on a single inheritance system with the support of only one metaclass. Finally, an extensible and reusable compiler system (front-end) for the Decaf programming language was designed and implemented. 2001 Thesis NonPeerReviewed application/pdf http://spectrum.library.concordia.ca/1484/1/MQ64060.pdf Mai, Yun <http://spectrum.library.concordia.ca/view/creators/Mai=3AYun=3A=3A.html> (2001) Applying reflection in object-oriented software design. Masters thesis, Concordia University. http://spectrum.library.concordia.ca/1484/
collection NDLTD
format Others
sources NDLTD
description thesis work performs a series of experiments on applying reflection technique to improve software design. First, a REFLECTIVE V ISITOR pattern was captured to improve the traditional VISITOR pattern. Reflection enables a visitor to perform a run-time dispatch action on itself. The cyclic dependencies between the visitor structure and the element structure are broken, thus both of them can be reused independently. Secondly, a parser framework was developed by applying several patterns. Especially, the REFLECTION pattern is used in the design of dynamically handling a parsing process by separating the system into two levels. The base-level defines the grammar rules. The meta-level handles the complex relationships of these rules. Reflection technique is used to discover grammar rules at run-time and determines the parsing order. Third, a dynamic object model was defined for a virtual machine that can support reflection. We demonstrated Forman's theory by developing a simplified object model based on a single inheritance system with the support of only one metaclass. Finally, an extensible and reusable compiler system (front-end) for the Decaf programming language was designed and implemented.
author Mai, Yun
spellingShingle Mai, Yun
Applying reflection in object-oriented software design
author_facet Mai, Yun
author_sort Mai, Yun
title Applying reflection in object-oriented software design
title_short Applying reflection in object-oriented software design
title_full Applying reflection in object-oriented software design
title_fullStr Applying reflection in object-oriented software design
title_full_unstemmed Applying reflection in object-oriented software design
title_sort applying reflection in object-oriented software design
publishDate 2001
url http://spectrum.library.concordia.ca/1484/1/MQ64060.pdf
Mai, Yun <http://spectrum.library.concordia.ca/view/creators/Mai=3AYun=3A=3A.html> (2001) Applying reflection in object-oriented software design. Masters thesis, Concordia University.
work_keys_str_mv AT maiyun applyingreflectioninobjectorientedsoftwaredesign
_version_ 1716605567565299712