Back to Search
Start Over
A prototype-based approach to object reclassification
- Source :
- [Research Report] Inria & Université Cote d'Azur, CNRS, I3S, Sophia Antipolis, France. 2020
- Publication Year :
- 2020
- Publisher :
- HAL CCSD, 2020.
-
Abstract
- We investigate, in the context of functional prototype-based languages , a calculus of objects which might extend themselves upon receiving a message, a possibility referred to by Cardelli as a self-inflicted operation. We present a sound type system for this calculus which guarantees that evaluating a well-typed expression will never yield a message-not-found runtime error. The resulting calculus is an attempt towards the definition of a language combining the safety advantage of static type check with the flexibility normally found in dynamically typed languages.
- Subjects :
- object reclassification
TheoryofComputation_MATHEMATICALLOGICANDFORMALLANGUAGES
TheoryofComputation_LOGICSANDMEANINGSOFPROGRAMS
static typing
Prototype-based calculi
[INFO.INFO-LO]Computer Science [cs]/Logic in Computer Science [cs.LO]
[INFO.INFO-CL]Computer Science [cs]/Computation and Language [cs.CL]
Subjects
Details
- Language :
- English
- Database :
- OpenAIRE
- Journal :
- [Research Report] Inria & Université Cote d'Azur, CNRS, I3S, Sophia Antipolis, France. 2020
- Accession number :
- edsair.od......2592..76c1470c1b060a8773906295cea1225d