Wyvern: a simple, typed, and pure object-oriented language

Ligia Nistor, Darya Kurilova, Stephanie Balzer, Benjamin Chung, Alex Potanin, Jonathan Aldrich

Research output: Chapter in Book/Report/Conference proceedingConference Paperpeer-review

17 Citations (Scopus)

Abstract

The simplest and purest practical object-oriented language designs today are seen in dynamically-typed languages, such as Smalltalk and Self. Static types, however, have potential benefits for productivity, security, and reasoning about programs. In this paper, we describe the design ofWyvern, a statically typed, pure object-oriented language that attempts to retain much of the simplicity and expressiveness of these iconic designs. Our goals lead us to combine pure object-oriented and functional abstractions in a simple, typed setting. We present a foundational object-based language that we believe to be as close as one can get to simple typed lambda calculus while keeping objectorientation. We show how this foundational language can be translated to the typed lambda calculus via standard encodings.We then define a simple extension to this language that introduces classes and show that classes are no more than sugar for the foundational object-based language. Our future intention is to demonstrate that modules and other object-oriented features can be added to our language as not more than such syntactical extensions while keeping the object-oriented core as pure as possible. The design of Wyvern closely follows both historical and modern ideas about the essence of object-orientation, suggesting a new way to think about a minimal, practical, typed core language for objects.

Original languageEnglish
Title of host publicationProceedings of MASPEGHI 2013
Subtitle of host publicationMechAnisms for SPEcialization, Generalization and InHerItance: Workshop in Conjunction with the Co-located Conferences, ECOOP, ECMFA and ECSA 2013
EditorsMarkku Sakkinen
Place of PublicationNew York
PublisherAssociation for Computing Machinery (ACM)
Pages9-16
Number of pages8
ISBN (Print)1450320467, 9781450320467
DOIs
Publication statusPublished - 2013
Externally publishedYes
Event5th Workshop on MechAnisms for SPEcialization, Generalization and inHerItance, MASPEGHI 2013 - In Conjunction with the Colocated Conferences, ECOOP, ECMFA and ECSA 2013 - Montpellier, France
Duration: 1 Jul 20131 Jul 2013

Conference

Conference5th Workshop on MechAnisms for SPEcialization, Generalization and inHerItance, MASPEGHI 2013 - In Conjunction with the Colocated Conferences, ECOOP, ECMFA and ECSA 2013
Country/TerritoryFrance
CityMontpellier
Period1/07/131/07/13

Fingerprint

Dive into the research topics of 'Wyvern: a simple, typed, and pure object-oriented language'. Together they form a unique fingerprint.

Cite this