基于原型的对象重新分类方法
A prototype-based approach to object reclassification
摘要:
我们调查,在功能原型为基础的语言,微积分的对象,可能会扩展自己收到一条消息,一种能力被Cardelli称为一个自我造成的操作。我们提出了一个健全的类型系统,这种演算,保证评估一个良好类型的表达式将永远不会产生一个消息未找到运行时错误。由此产生的演算是一种尝试,旨在定义一种语言,将静态类型检查的安全优势与动态类型语言中通常存在的灵活性相结合。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。