Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/1449814.1449823acmconferencesArticle/Chapter ViewAbstractPublication PagessplashConference Proceedingsconference-collections
research-article

Processing heterogeneous abstract syntax trees with the mutable class pattern

Published: 19 October 2008 Publication History

Abstract

The Mutable Class Pattern is an alternative extensible solution to the Visitor pattern for building configurable associations of heterogeneous structures with diverse algorithms. Initially it was introduced in the framework of the Unified Accelerator Libraries. The scope of the Mutable Class however appears to not be limited to the modeling applications due to the optimal combination of several approaches. This paper presents the application of the Mutable Class pattern to the traversal of heterogeneous abstract syntax trees. The application is based on the JastAdd configurable metacompiler construction system.

References

[1]
Ekman, T. and Hedin, G. "The JastAdd Extensible Java Compiler", In Proc. of International Conf. on Object-Oriented Programming, Systems, Languages, and Applications (2007)
[2]
Hedin, G. and Magnusson, E. "JastAdd: and aspect-oriented compiler construction system", Science of Computer Programming. 47(1): 37--58 (2003)
[3]
Gamma, E., Helm, R., Johnson, R., and Vlissides, J. "Design Patterns: Elements of Reusable Object-Oriented Software", Addison-Wesley Professional (1995)
[4]
Malitsky, N. and Talman, R. "Framework of Unified Accelerator Libraries", In Proc. of International Conf. on Computational Accelerator Physics (1998)
[5]
Martin, R., Riehle, D., and Buschmann, F. "Pattern Language of Program Design 3", Addison-Wesley (1997)
[6]
OMG Unified Modeling Language, Infrastructure, V2.1.2", OMG document number: formal /2007-11-04
[7]
Wu, X. et al. "Separation of concerns in compiler development using aspect-orientation", In Proc. of the 2005 ACM Symposium of Applied Computing (2006)

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
OOPSLA Companion '08: Companion to the 23rd ACM SIGPLAN conference on Object-oriented programming systems languages and applications
October 2008
306 pages
ISBN:9781605582207
DOI:10.1145/1449814
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 19 October 2008

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. AOP
  2. OOP
  3. heterogeneous trees
  4. mutable class pattern
  5. visitor pattern

Qualifiers

  • Research-article

Conference

OOPSLA08
Sponsor:

Upcoming Conference

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 203
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 01 Sep 2024

Other Metrics

Citations

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media