Enforcing programming conventions by attribute extension in an open compiler

G. Hedin

In Bendix et al. (Eds): Proceedings of NWPER'96, Nordic Workshop on Programming Environment Research, pp 19-36, Aalborg, Denmark, May 1996.

[Postscript] [pdf]


A problem in supporting reusability of libraries and frameworks is that the programming conventions which need to be followed are only informally described. Safer reuse would result if these conventions could be enforced, preferably at compile time. This paper suggests a technique for this by means of an extensible attribute-grammar based compiler.

Please note

An updated version of this paper is published in the journal NJC. [Abstract].