Variant path types for scalable extensibility


Atsushi Igarashi, Mirko Viroli

ACM SIGPLAN Notices 42(10), pages 113-132
2007

Much recent work in the design of object-oriented programming languages has been focusing on identifying suitable features to support so-called scalable extensibility, where the usual extension mechanism by inheritance works in different scales of software components?that is, classes, groups of classes, groups of groups and so on. Its typing issues has usually been addressed by means of dependent type systems, where nested types are seen as properties of objects. In this work, we seek instead for a different solution, which can be more easily applied to Java-like languages, in which nested types are considered properties of classes.
We introduce the mechanism of variant path types, which provide a flexible means to express intra-group relationship (among classes) that has to be preserved through extension.
In particular, improving and extending existing works on groups and exact types, we feature the new notions of exact and inexact qualifications, providing rich abstractions to express various kinds of set of objects, with a flexible sub typing scheme.We formalize a safe type system for variant path types on top of Featherweight Java. Our development results in a complete solution for scalable extensibility, similarly to previous attempts based on dependent type systems.

(keywords) Generics, parametric polymorphism, variant types, Featherweight Java

Tags:

Publications

Publications / Views

Home

Clouds
•  tags  •  authors  •  editors  •  journals  

Year
 2023    2022    2021    2020    2019    2018    2017    2016    2015    2014–1927

Sort
•  in journal  •  in proc  •  chapters  •  books  •  edited  •  spec issues  •  editorials  •  entries  •  manuals  •  tech reps  •  phd th  •  others  

Status
•  online  •  in press  •  proof  •  camera-ready  •  revised  •  accepted  •  revision  •  submitted  •  draft  •  note  

Services
•  ACM Digital Library  •  DBLP  •  IEEE Xplore  •  IRIS  •  PubMed  •  Google Scholar  •  Scopus  •  Semantic Scholar  •  Web of Science  •  DOI  

Publication

— authors

Atsushi Igarashi, Mirko Viroli

— editors

Richard P. Gabriel, David F. Bacon, Cristina Videira Lopes, Guy L. Steele Jr.

— status

published

— sort

article in journal

— publication date

2007

— journal

ACM SIGPLAN Notices

— volume

42

— issue

10

— pages

113-132

— address

New York, NY, USA

identifiers

— DOI

10.1145/1297027.1297037

— print ISSN

0362-1340

— print ISBN

978-1-59593-786-5

notes

— note

Proceedings of the 22nd annual ACM SIGPLAN Conference on Object Oriented Programming Systems, Languages and Applications (OOPSLA '07), Montreal, Quebec, Canada

Partita IVA: 01131710376 — Copyright © 2008–2023 APICe@DISI – PRIVACY