Attribute extension - a technique for enforcing programming conventions

  • Authors:
  • Görel Hedin

  • Affiliations:
  • Dept of Computer Science, Lund Institute of Technology, Box 118, S-221 00 Lund, Sweden

  • Venue:
  • Nordic Journal of Computing
  • Year:
  • 1997

Quantified Score

Hi-index 0.01

Visualization

Abstract

A problem in supporting reusability of software 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 presents a technique supporting such enforcement. The technique is based on attribute grammars and allows the construction of extensible compilers and checkers.