Naval Postgraduate School
Dudley Knox Library
NPS Dudley Knox Library
View Item 
  •   Calhoun Home
  • Faculty and Researchers
  • Faculty and Researchers' Publications
  • View Item
  •   Calhoun Home
  • Faculty and Researchers
  • Faculty and Researchers' Publications
  • View Item
  • How to search in Calhoun
  • My Accounts
  • Ask a Librarian
JavaScript is disabled for your browser. Some features of this site may not work without it.

Browse

All of CalhounCollectionsThis Collection

My Account

LoginRegister

Statistics

Most Popular ItemsStatistics by CountryMost Popular Authors

A Sound Polymorphic Type System for a Dialect of C

Thumbnail
Download
IconSmith_Volpano_Sound_1997.pdf (370.9Kb)
Download Record
Download to EndNote/RefMan (RIS)
Download to BibTex
Author
Smith, Geoffrey
Volpano, Dennis
Date
1996
Metadata
Show full item record
Abstract
Advanced polymorphic type systems have come to play an important role in the world of functional programming. But, so far, these type systems have has little impact upon widely used imperative programming languages like c and C++. We show that ML-style polymorphism can be integrated smoothly into a dialect of C, which wwe call Polymorphic C. It has the same ppointer operatins as C, including the address-of operator &, the dereferencing operator * and pointer srithmetic. We give a natural semantics for Polymorphic C, and prove a type soundness theorem that gives a rigorous and useful characterization of what can go wrong when a well-typed Polymorphic C program in executed. For example, a well-typed Polymorphic c program may fail to terminate, or it may abortdue to a dangling pointer error. Proving such a type soundness theorem requuires a notion of an attempted program execution; we show that a natural semantics theorem gives rise quite naturally to a transition semantics, which we calla natural transtition semantics, that models program execution in terms of transformatins of partial derivation trees. This techique should be generally useful in proving type soundness for languages defined using natural semantics.
Description
The article of record as published may be found at http://dx.doi.org/
Rights
This publication is a work of the U.S. Government as defined in Title 17, United States Code, Section 101. Copyright protection is not available for this work in the United States.
URI
http://hdl.handle.net/10945/35269
Collections
  • Faculty and Researchers' Publications

Related items

Showing items related by title, author, creator and subject.

  • Thumbnail

    A type inference algorithm and transition semantics for polymorphic C 

    Özgen, Mustafa (Monterey, California. Naval Postgraduate School, 1996-09);
    In an attempt to bring the ML-style type inference to the C programming language, Smith and Volpano developed a type system for a dialect of C, called PolyC SmV96a SmV95b. PolyC extends C with ML-style polymorphism and a ...
  • Thumbnail

    Towards an implementation of Polymorphic C 

    Bonem, Peter Bryant (Monterey, California. Naval Postgraduate School, 1995-09);
    Functional programming languages incorporate a number of powerful features, including advanced polymorphic type systems and first-class, higher- order functions. However, these important features have had little effect ...
  • Thumbnail

    Towards an ML-style Polymorphic Type System for C 

    Smith, Geoffrey; Volpano, Dennis (1996-04);
    Advanced polymorphic type systems have come to play an important role in the world of functional programming. But, curiously, these type systems have so far had little impact upon widely-used imperative programming languages ...
NPS Dudley Knox LibraryDUDLEY KNOX LIBRARY
Feedback

411 Dyer Rd. Bldg. 339
Monterey, CA 93943
circdesk@nps.edu
(831) 656-2947
DSN 756-2947

    Federal Depository Library      


Start Your Research

Research Guides
Academic Writing
Ask a Librarian
Copyright at NPS
Graduate Writing Center
How to Cite
Library Liaisons
Research Tools
Thesis Processing Office

Find & Download

Databases List
Articles, Books & More
NPS Theses
NPS Faculty Publications: Calhoun
Journal Titles
Course Reserves

Use the Library

My Accounts
Request Article or Book
Borrow, Renew, Return
Tech Help
Remote Access
Workshops & Tours

For Faculty & Researchers
For International Students
For Alumni

Print, Copy, Scan, Fax
Rooms & Study Spaces
Floor Map
Computers & Software
Adapters, Lockers & More

Collections

NPS Archive: Calhoun
Restricted Resources
Special Collections & Archives
Federal Depository
Homeland Security Digital Library

About

Hours
Library Staff
About Us
Special Exhibits
Policies
Our Affiliates
Visit Us

NPS-Licensed Resources—Terms & Conditions
Copyright Notice

Naval Postgraduate School

Naval Postgraduate School
1 University Circle, Monterey, CA 93943
Driving Directions | Campus Map

This is an official U.S. Navy Website |  Please read our Privacy Policy Notice  |  FOIA |  Section 508 |  No FEAR Act |  Whistleblower Protection |  Copyright and Accessibility |  Contact Webmaster

Export search results

The export option will allow you to export the current search results of the entered query to a file. Different formats are available for download. To export the items, click on the button corresponding with the preferred download format.

A logged-in user can export up to 15000 items. If you're not logged in, you can export no more than 500 items.

To select a subset of the search results, click "Selective Export" button and make a selection of the items you want to export. The amount of items that can be exported at once is similarly restricted as the full export.

After making a selection, click one of the export format buttons. The amount of items that will be exported is indicated in the bubble next to export format.