@inproceedings{2000404, author={Andrew Moss and Henk Muller}, title={Efficient Code Generation for a Domain Specific Language}, booktitle={Generative Programming and Component Engineering}, ISBN={3-540-29138-5}, publisher={Springer Verlag}, pages={47--62}, month={September}, year={2005}, abstract={We present a domain-specific-language (DSL) for writing instances of a class of filter programs. The values in the language are symbolic and independent of a concrete precision. Efficient code generation is required to fit the program onto a target device limited in both memory and processing power. We construct an interpreter for the DSL in a language specific to the device which contains the semantics of the target instruction set embedded within a declarative meta-language. The compiler is automatically generated from the interpreter through specialisation. This extension of the instruction set allows the construction of an interpreter for the DSL that is both simple and clear. In particular it allows us to declare static representations of the symbolic values, and have the specialisation of the code produce operate upon these values in the instruction set of the target device.}, abstract-url={http://www.cs.bris.ac.uk/Publications/pub_master.jsp?id=2000404}, url={http://www.cs.bris.ac.uk/Publications/Papers/2000404.pdf}, keyword={Logic Programming,Optimisation,Program Analysis,Program Transformation,Wearables}, pubtype={102} }