Implementing a Domain-Specific Language using Stratego/XT

An Experience Paper

Leonard G. C. Hamey*, Shirley N. Goldrei

*Corresponding author for this work

Research output: Contribution to journalArticle

1 Citation (Scopus)

Abstract

We describe the experience of implementing a Domain-Specific Language using transformation to a General Purpose Language. The domain of application is image processing and low-level computer vision. The transformation is accomplished using the Stratego/XT language transformation toolset. The implementation presented here is contrasted with the original implementation carried out many years ago using standard compiler implementation tools of the day. We highlight some of the unexpected advantages afforded to us, as language designers and implementers, by the source-to-source transformation technique. We also present some of the practical challenges faced in the implementation and show how these issues were addressed.

Original languageEnglish
Pages (from-to)37-51
Number of pages15
JournalElectronic Notes in Theoretical Computer Science
Volume203
Issue number2
DOIs
Publication statusPublished - 1 Apr 2008

Keywords

  • domain-specific language
  • transformation
  • compiler implementation
  • language definition
  • computer vision

Fingerprint Dive into the research topics of 'Implementing a Domain-Specific Language using Stratego/XT: An Experience Paper'. Together they form a unique fingerprint.

Cite this