Skip to main content

2003 | OriginalPaper | Buchkapitel

A Pattern Matching Compiler for Multiple Target Languages

verfasst von : Moreau Pierre-Etienne, Christophe Ringeissen, Marian Vittek

Erschienen in: Compiler Construction

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Many processes can be seen as transformations of tree-like data structures. In compiler construction, for example, we continuously manipulate trees and perform tree transformations. This paper introduces a pattern matching compiler (Tom): a set of primitives which add pattern matching facilities to imperative languages such as C, Java, or Eiffel. We show that this tool is extremely non-intrusive, lightweight and useful to implement tree transformations. It is also flexible enough to allow the reuse of existing data structures.

Metadaten
Titel
A Pattern Matching Compiler for Multiple Target Languages
verfasst von
Moreau Pierre-Etienne
Christophe Ringeissen
Marian Vittek
Copyright-Jahr
2003
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-36579-6_5

Premium Partner