Interface language for supporting programming styles

  • Authors:
  • Yang Meng Tan

  • Affiliations:
  • Laboratory for Computer Science, Massachusetts Institute of Technology, 545 Technology Square, Cambridge, MA

  • Venue:
  • IDL '94 Proceedings of the workshop on Interface definition languages
  • Year:
  • 1994

Quantified Score

Hi-index 0.01

Visualization

Abstract

We suggest a novel application of a formal specification language: we use it to support some programming conventions and encourage certain styles of programming. The Larch/C Interface Language (LCL) is a language for documenting the interfaces of ANSI C programs. It is designed to support a style of c programming where a program is organized around a set of software modules. Even though C does not support abstract data types, LCL supports the specifications of abstract data types, and provides guidelines on how abstract types can be implemented in C. A lint-like program checks for some conformance of C code to its LCL specification.