Processing heterogeneous abstract syntax trees with the mutable class pattern

  • Authors:
  • Nikolay Malitsky

  • Affiliations:
  • Brookhaven National Laboratory, Upton, NY, USA

  • Venue:
  • Companion to the 23rd ACM SIGPLAN conference on Object-oriented programming systems languages and applications
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

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.