Date of Original Version

9-2006

Type

Technical Report

Rights Management

All Rights Reserved

Abstract or Description

We present an extension to Standard ML, called SMLSC, to support separate compilation. The system gives meaning to individual program fragments, called units. Units may depend on one another in a way specified by the programmer. A dependency may be mediated by an interface (the type of a unit); if so, the units can be compiled separately. Otherwise, they must be compiled in sequence. We also propose a methodology for programming in SMLSC that reflects code development practice and avoids syntactic repetition of interfaces. The language is given a formal semantics, and we argue that this semantics is implementable in a variety of compilers.

DOI

10.1145/1159876.1159883

Share

COinS
 

Published In

Proceedings of the 2006 Workshop on ML, ML '06., 32-42.