计算机科学 > 程序设计语言
[提交于 2018年8月13日]
标题:A prototype-based approach to object reclassification
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We investigate, in the context of functional prototype-based lan- guages, a calculus of objects which might extend themselves upon receiving a message, a capability 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 checking with the flexibility normally found in dynamically typed languages.
提交历史
来自:Luigi Liquori[v1] 2018年8月13日 星期一 13:13:14 UTC