Prototype-based languages: from a new taxonomy to constructive proposals and their validation

C. Dony, J. Malenfant, P. Cointe
{"title":"Prototype-based languages: from a new taxonomy to constructive proposals and their validation","authors":"C. Dony, J. Malenfant, P. Cointe","doi":"10.1145/141936.141954","DOIUrl":null,"url":null,"abstract":"Prototype-based languages are currently proposed as a substitute to class-based languages for a higher flexibility in manipulating objects. These languages are all based on a similar set of basic principles: object-centered representation, dynamic addition (deletion) of slots, cloning and message delegation. But they all differ in the precise interpretation of these principles and nobody has yet considered the semantic issues raised by their combination. In this paper, we propose a new taxonomy of prototypebased languages, enhancing the Treaty of Orlando by now discussing issues associated with the different semantics of the identified prototype-based languages. From this taxonomy, we extract a constructive proposal for the design of a new prototype-based language. This proposal is the chief result of this paper; it suggests one set of primitives which is regarded as the best to provide a clean, useful and coherent prototype-based computational model. We finally describe an implementation of most interesting language alternatives in the form of a Smalltalk-80 platform. This platform establishes an operational semantics for the basic primitives and – more interesting – validates our previous taxonomy by implementing it as a class hierarchy. Obviously, this platform has been used to relate in the same formalism the semantics of different languages with each others. For instance, the programming models of existing languages, such as Self, ObjectLisp and Actra's examplars, are faithfully derived as subclasses in this hierarchy.","PeriodicalId":190766,"journal":{"name":"Conference proceedings on Object-oriented programming systems, languages, and applications","volume":"6 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1992-10-31","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"91","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Conference proceedings on Object-oriented programming systems, languages, and applications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/141936.141954","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 91

Abstract

Prototype-based languages are currently proposed as a substitute to class-based languages for a higher flexibility in manipulating objects. These languages are all based on a similar set of basic principles: object-centered representation, dynamic addition (deletion) of slots, cloning and message delegation. But they all differ in the precise interpretation of these principles and nobody has yet considered the semantic issues raised by their combination. In this paper, we propose a new taxonomy of prototypebased languages, enhancing the Treaty of Orlando by now discussing issues associated with the different semantics of the identified prototype-based languages. From this taxonomy, we extract a constructive proposal for the design of a new prototype-based language. This proposal is the chief result of this paper; it suggests one set of primitives which is regarded as the best to provide a clean, useful and coherent prototype-based computational model. We finally describe an implementation of most interesting language alternatives in the form of a Smalltalk-80 platform. This platform establishes an operational semantics for the basic primitives and – more interesting – validates our previous taxonomy by implementing it as a class hierarchy. Obviously, this platform has been used to relate in the same formalism the semantics of different languages with each others. For instance, the programming models of existing languages, such as Self, ObjectLisp and Actra's examplars, are faithfully derived as subclasses in this hierarchy.
基于原型的语言:从新的分类法到建设性建议及其验证
基于原型的语言目前被提议作为基于类的语言的替代品,在操作对象方面具有更高的灵活性。这些语言都基于一组相似的基本原则:以对象为中心的表示、槽的动态添加(删除)、克隆和消息委托。但它们在对这些原则的精确解释上都有所不同,而且还没有人考虑到它们结合在一起所引起的语义问题。在本文中,我们提出了一种新的基于原型的语言分类法,通过讨论与已识别的基于原型的语言的不同语义相关的问题来加强奥兰多条约。从这个分类中,我们为设计一种新的基于原型的语言提出了建设性的建议。该建议是本文的主要成果;它提出了一组被认为是提供一个干净、有用和连贯的基于原型的计算模型的最佳原语。最后,我们以Smalltalk-80平台的形式描述了一个最有趣的语言替代方案的实现。这个平台为基本原语建立了一个操作语义,更有趣的是,它通过将以前的分类法实现为类层次结构来验证它。显然,这个平台已经被用来以相同的形式将不同语言的语义相互联系起来。例如,现有语言的编程模型,如Self、ObjectLisp和Actra的示例,都忠实地派生为这个层次结构中的子类。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书