Implementing a Domain-Specific Language using Stratego/XT: An Experience Paper

Leonard G. C. Hamey, Shirley N. Goldrei

Research output: Contribution to journalArticleResearchpeer-review

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.

LanguageEnglish
Pages37-51
Number of pages15
JournalElectronic Notes in Theoretical Computer Science
Volume203
Issue number2
DOIs
Publication statusPublished - 1 Apr 2008

Fingerprint

Domain-specific Languages
Computer vision
Image processing
Compiler
Computer Vision
Image Processing
Experience
Language

Keywords

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

Cite this

@article{05455eff0fff4594bb48a1a0ea04f364,
title = "Implementing a Domain-Specific Language using Stratego/XT: An Experience Paper",
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.",
keywords = "domain-specific language, transformation, compiler implementation, language definition, computer vision",
author = "Hamey, {Leonard G. C.} and Goldrei, {Shirley N.}",
year = "2008",
month = "4",
day = "1",
doi = "10.1016/j.entcs.2008.03.043",
language = "English",
volume = "203",
pages = "37--51",
journal = "Electronic Notes in Theoretical Computer Science",
issn = "1571-0661",
publisher = "Elsevier",
number = "2",

}

Implementing a Domain-Specific Language using Stratego/XT : An Experience Paper. / Hamey, Leonard G. C.; Goldrei, Shirley N.

In: Electronic Notes in Theoretical Computer Science, Vol. 203, No. 2, 01.04.2008, p. 37-51.

Research output: Contribution to journalArticleResearchpeer-review

TY - JOUR

T1 - Implementing a Domain-Specific Language using Stratego/XT

T2 - Electronic Notes in Theoretical Computer Science

AU - Hamey, Leonard G. C.

AU - Goldrei, Shirley N.

PY - 2008/4/1

Y1 - 2008/4/1

N2 - 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.

AB - 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.

KW - domain-specific language

KW - transformation

KW - compiler implementation

KW - language definition

KW - computer vision

UR - http://www.scopus.com/inward/record.url?scp=41349100475&partnerID=8YFLogxK

U2 - 10.1016/j.entcs.2008.03.043

DO - 10.1016/j.entcs.2008.03.043

M3 - Article

VL - 203

SP - 37

EP - 51

JO - Electronic Notes in Theoretical Computer Science

JF - Electronic Notes in Theoretical Computer Science

SN - 1571-0661

IS - 2

ER -