Programming Languages for Reusable Software Components
dc.contributor.author | Flatt, Matthew | en_US |
dc.date.accessioned | 2017-08-02T22:03:47Z | en_US |
dc.date.available | 2017-08-02T22:03:47Z | en_US |
dc.date.issued | 1999-07-20 | en_US |
dc.date.note | July 20, 1999 | en_US |
dc.description | This work was also published as a Rice University thesis/dissertation: http://hdl.handle.net/1911/19491 | en_US |
dc.description.abstract | Programming languages offer a variety of constructs to support code reuse. For example, functional languages provide function constructs for encapsulating expressions to be used in multiple contexts. Similarly, object-oriented languages provide class (or class-like) constructs for encapsulating sets of definitions that are easily adapted for new programs. Despite the variety and abundance of such programming constructs, however, existing languages are ill-equipped to support Component programming with reusable software components. Component programming differs from other forms of reuse in its emphasis on the independent development and deployment of software components. In its ideal form, component programming means building programs from off-the-shelf components that are supplied by a software-components industry. This model suggests a strict separation between the producer and consumer of a component. The separation, in turn, implies separate compilation for components, allowing a producer to test and distribute compiled components rather than proprietary source code. Since the consumer cannot modify a compiled software component, each component must be defined and compiled in a way that gives the consumer flexibility in linking components together. This dissertation shows how a language for component programming can support both separate compilation and flexible linking. To that end, it expounds the Principle of external connections. A language should separate component definitions from component connections. Neither conventional module constructs nor conventional object-oriented constructs follow the principle of external connections, which explains why neither provides an effective language for component programming. We describe new language constructs for modules and classes—called units and mixins, respectively—that enable component programming in each domain. The unit and mix in constructs modeled in this dissertation are based on constructs that we implemented for the MzScheme programming language, a dialect of the dynamically-typed language Scheme. To demonstrate that units and mixins work equally well for statically-typed languages, such as ML or Java, we provide typed models of the constructs as well as untyped models, and we formally prove the soundness of the typed models. | en_US |
dc.format.extent | 158 pp | en_US |
dc.identifier.citation | Flatt, Matthew. "Programming Languages for Reusable Software Components." (1999) https://hdl.handle.net/1911/96511. | en_US |
dc.identifier.digital | TR99-345 | en_US |
dc.identifier.uri | https://hdl.handle.net/1911/96511 | en_US |
dc.language.iso | eng | en_US |
dc.rights | You are granted permission for the noncommercial reproduction, distribution, display, and performance of this technical report in any format, but this permission is only for a period of forty-five (45) days from the most recent time that you verified that this technical report is still available from the Computer Science Department of Rice University under terms that include this permission. All other rights are reserved by the author(s). | en_US |
dc.title | Programming Languages for Reusable Software Components | en_US |
dc.type | Technical report | en_US |
dc.type.dcmi | Text | en_US |
Files
Original bundle
1 - 1 of 1