Design and implementation of object oriented extensions to the Control Module language
In: Proceedings of 11th Nordic Workshop on Programming and Software Development Tools and Techniques, 2004.
Authors: Torbjörn Ekman
Abstract
The Control Module language is a domain-specific language used to implement programmable logic controllers. This paper presents the design and implementation of a set of language extensions that improve encapsulation, code re-use, and type safety. The extensions as well as the base language are implemented using Rewritable Reference Attributed Grammars supported by the JastAdd II tool. Static semantic analysis and code generation are implemented in a modular declarative fashion using the abstract syntax tree as the only data structure. To better reflect the semantics of the language the tree structure is dynamically rewritten during compilation. The extensions are finally translated into the base language to re-use existing compilers and run-time system.
BIBTEX:
@inproceedings{nwper2004controlmodules,
author = "Torbj{\"o}rn Ekman",
title = "{Design and implementation of object-oriented extensions to the Control Module language}",
booktitle = "{11th Nordic Workshop on Programming and Software Development Tools and Techniques}",
year = "2004"
}