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 language | English |
---|---|
Pages (from-to) | 37-51 |
Number of pages | 15 |
Journal | Electronic Notes in Theoretical Computer Science |
Volume | 203 |
Issue number | 2 |
DOIs | |
Publication status | Published - 1 Apr 2008 |
Keywords
- domain-specific language
- transformation
- compiler implementation
- language definition
- computer vision