Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies最新文献

筛选
英文 中文
Pragmas: Literal Messages as Powerful Method Annotations Pragmas:作为强大方法注解的文字消息
Stéphane Ducasse, E. Miranda, A. Plantec
{"title":"Pragmas: Literal Messages as Powerful Method Annotations","authors":"Stéphane Ducasse, E. Miranda, A. Plantec","doi":"10.1145/2991041.2991050","DOIUrl":"https://doi.org/10.1145/2991041.2991050","url":null,"abstract":"Often tools need to be extended at runtime depending on the availability of certain features. Simple registration mechanisms can handle such a situation: It often boils down to represent an action and describe such action with some metadata. However, ad-hoc registration mechanisms have some drawbacks: they are often not uniform and do not fit well with code navigability. In addition, metadata is not automatically synchronized with the data or behavior it describes. In this article we present the notion of pragmas, method annotations, as it was introduced in VisualWorks and now it is an important extensibility mechanism of Pharo. We present some examples of pragmas within Pharo.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"1 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"128638829","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 9
Dynamic Round-Trip Engineering in the context of FOMDD 在FOMDD环境下的动态往返工程
Glenn Cavarlé, A. Plantec, Steven Costiou, V. Ribaud
{"title":"Dynamic Round-Trip Engineering in the context of FOMDD","authors":"Glenn Cavarlé, A. Plantec, Steven Costiou, V. Ribaud","doi":"10.1145/2991041.2991056","DOIUrl":"https://doi.org/10.1145/2991041.2991056","url":null,"abstract":"In the context of Feature-Oriented Model-Driven Development, round-trip engineering remains challenging because of the one-to-many relationship that exists between a source model and its implementation parts. In this paper, we present CrossFabrik, an approach that allows round-trip engineering with dynamic assessment of generated implementations. Such an approach relies on the reflective capability of the development environment. An implementation of our approach within Pharo is also presented.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"25 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"125934209","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 1
Mocks, Proxies, and Transpilation as Development Strategies for Web Development 模拟、代理和转译作为Web开发的开发策略
N. Bouraqadi, D. Mason
{"title":"Mocks, Proxies, and Transpilation as Development Strategies for Web Development","authors":"N. Bouraqadi, D. Mason","doi":"10.1145/2991041.2991051","DOIUrl":"https://doi.org/10.1145/2991041.2991051","url":null,"abstract":"With the advent of HTML 5, we can now develop rich web apps that rival classical standalone apps. This richness together with the portability of web technologies, turned HTML 5 into a viable (and in the case of mobile - essential) solution to develop cross-platform apps. This possibility is heavily dependent on Javascript having acceptable performance, good testability, and a modern development environment. Despite its extensive use in creating highly interactive environments, most Javascript development environments currently use a compile/run paradigm. Similarly, testing is frequently tacked on, rather than being an integrated part of the development cycle. We propose PharoJS which leverages the Smalltalk IDE with a seamless transition from native Smalltalk tests, through proxied browser tests, to full browser-resident tests. We support the standard event-driven browser model and transpile Smalltalk code into efficient Javascript for execution in the browser. We further support testing - both manually and automatically - in a range of browsers to provide assured consistency upon deployment. In addition to transpiling the Smalltalk code to Javascript to perform tests in the browser, we can also run non-interactive tests within the Smalltalk environment. The unique feature we provide is the ability to run interactive tests largely within the Smalltalk IDE, so as to fully exploit the debugging and development environment, while the actual interaction occurs on the browser. We exhibit this new mode of development via a simple application.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"9 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"129129133","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 5
Dynamically Composing Collection Operations through Collection Promises 通过集合承诺动态组合集合操作
Juan Pablo Sandoval Alcocer, M. Denker, Alexandre Bergel, Yasett Acurana
{"title":"Dynamically Composing Collection Operations through Collection Promises","authors":"Juan Pablo Sandoval Alcocer, M. Denker, Alexandre Bergel, Yasett Acurana","doi":"10.1145/2991041.2991049","DOIUrl":"https://doi.org/10.1145/2991041.2991049","url":null,"abstract":"Filtering, mapping, and iterating collections are frequent operations. It is known that composing a number of these operations may create intermediate collections causing an additional and unnecessary overhead. To reduce the number of intermediate collections it is often necessary to rewrite the source code and combine the operations. However, for some cases such reduction becomes aplicable only after a source code refactoring (i.e., when the collection operations are in different methods) which could introduce code duplication. In this paper we propose Collection Promises to dynamically compose collection operations in order to reduce the number of unnecessary intermediate collections. Collection Promises delay a number of collection operations and then merge them using compositions rules. By using Collection Promises developers can automatically reduce the intermediate collections even if the collection operations are in different methods.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"157 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"133336465","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
The Object Repository: Pulling Objects out of the Ecosystem 对象存储库:将对象拉出生态系统
B. Spasojevic, Mohammad Ghafari, Oscar Nierstrasz
{"title":"The Object Repository: Pulling Objects out of the Ecosystem","authors":"B. Spasojevic, Mohammad Ghafari, Oscar Nierstrasz","doi":"10.1145/2991041.2991048","DOIUrl":"https://doi.org/10.1145/2991041.2991048","url":null,"abstract":"In this paper we propose the idea of constructing an Object Repository -- a repository of code snippets that, when executed, produce an instance of some class. Such a repository may be useful for several software engineering tasks like augmenting software documentation, testing object inspectors, improving program comprehension etc. We mine code snippets from existing software systems via brute force execution of code segments obtained through converting AST nodes of methods to source code. The gathered snippets are known to be executable, and this is a novelty which is not possible with existing approaches. We show that applying the proposed approach to 141 open source Pharo projects results in an Object Repository that can instantiate almost 80% of the available classes in these projects.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"116842046","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 3
Inferring Types by Mining Class Usage Frequency from Inline Caches 通过从内联缓存挖掘类使用频率来推断类型
Nevena Milojkovic, Clément Béra, Mohammad Ghafari, Oscar Nierstrasz
{"title":"Inferring Types by Mining Class Usage Frequency from Inline Caches","authors":"Nevena Milojkovic, Clément Béra, Mohammad Ghafari, Oscar Nierstrasz","doi":"10.1145/2991041.2991047","DOIUrl":"https://doi.org/10.1145/2991041.2991047","url":null,"abstract":"Dynamically typed languages allow developers to write more expressive source code, but their lack of static information about types of variables increases the complexity of a program. Static type information about types of variables facilitates program comprehension and maintenance. Simple type inference algorithms suffer from the problem of false positives or negatives, thus complex approaches are required to avoid this problem. We propose a simple heuristic that uses easily accessible run-time information about the usage of each class as a receiver type for a message send. This frequency serves as a proxy for the likelihood that a run-time type of the variable is that class and it is used to promote the correct type towards the top of the list of possible types for a variable. Our evaluation of a proof-of-concept prototype implemented in Pharo Smalltalk shows that our heuristic is reasonably precise to detect correct types on average in 65.92% to 82.83% of cases.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"71 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126249143","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 14
Phorms: Pattern Combinator Library for Pharo Phorms: Pharo的模式组合器库
M. Rizun, Stéphane Ducasse, Gustavo Santos, Camille Teruel
{"title":"Phorms: Pattern Combinator Library for Pharo","authors":"M. Rizun, Stéphane Ducasse, Gustavo Santos, Camille Teruel","doi":"10.1145/2991041.2991057","DOIUrl":"https://doi.org/10.1145/2991041.2991057","url":null,"abstract":"Pattern matching is a common mechanism to provide analysis and transformation of data structures. Such an approach basically checks whether the containing elements of a data structure are constituents of a pattern, described by the developer. This paper is a step towards having seamless object-oriented pattern matching, which would be applicable to any object in Pharo. We present a pattern matching library, called Phorms, which enables users to compose patterns using the syntax of the Pharo programming language. In this library, patterns are objects and therefore can be inspected and debugged using existing Pharo tools. Our solution is extensible unlike The Rewrite Engine -- Pharo's current pattern matching facilities. Moreover, by treating patterns as first class objects, our library provides more flexibility in the pattern matching process.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"32 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121194628","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 2
ViennaTalk and Assertch: Building Lightweight Formal Methods Environments on Pharo 4 维也纳对话和断言:在Pharo 4上构建轻量级形式化方法环境
T. Oda, K. Araki, P. Larsen
{"title":"ViennaTalk and Assertch: Building Lightweight Formal Methods Environments on Pharo 4","authors":"T. Oda, K. Araki, P. Larsen","doi":"10.1145/2991041.2991045","DOIUrl":"https://doi.org/10.1145/2991041.2991045","url":null,"abstract":"It is possible to make Integrated Development Environments supporting formal methods that can be as flexible as the support for dynamic programming languages. This paper contributes with a demonstration employing different support environments for the Vienna Development Method Specification Language (VDM-SL) and design by contract for visual programming language. This includes ViennaTalk developed on top of Pharo 4 providing Smalltalk-styled LIVE browsers, VDM-SL interpreters, Smalltalk code generators, UI prototyping environments and a prototype Web API server to enable rigorous and flexible modeling during exploratory phases of software development. ViennaTalk uses the Slot mechanism in Pharo to test invariant assertions on instance variables in Smalltalk objects generated from VDM-SL specifications. In addition, we present a plugin named Assertch for Phratch, a scratch-clone visual programming environment on top of Pharo 4, that provides assertion blocks for designing and debugging a series of blocks. Both ViennaTalk and Assertch combine flexible live modeling or coding while still supporting rigorous checking. ViennaTalk has been evaluated by experienced professional engineers of VDM-SL while Assertch has been evaluated by undergraduate students of computer science. ViennaTalk and Assertch both demonstrate that Pharo and its contemporary features support rigorous modeling in formal specification languages as well as flexible prototyping in Smalltalk.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"86 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"115776724","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 6
A low Overhead Per Object Write Barrier for the Cog VM 为Cog虚拟机提供了一个低开销的每对象写屏障
Clément Béra
{"title":"A low Overhead Per Object Write Barrier for the Cog VM","authors":"Clément Béra","doi":"10.1145/2991041.2991063","DOIUrl":"https://doi.org/10.1145/2991041.2991063","url":null,"abstract":"In several Smalltalk implementations, a program can mark any object as read-only (unfortunately incorrectly some-times miscalled immutable). Such read-only objects cannot be mutated unless the program explicitly revert them to a writable state. This feature, called write barrier, may induce noticeable overhead if not implemented carefully, both in memory footprint and execution time. In this paper I discuss the recent addition of the write barrier in the Cog virtual machine and the support introduced in the Pharo 6 image. I detail specific aspects of the implementation that allows, according to multiple evaluations presented in the paper, to have such a feature with little to no overhead.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"7 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126569558","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 7
The OpenPonk modeling platform OpenPonk建模平台
Peter Uhnák, R. Pergl
{"title":"The OpenPonk modeling platform","authors":"Peter Uhnák, R. Pergl","doi":"10.1145/2991041.2991055","DOIUrl":"https://doi.org/10.1145/2991041.2991055","url":null,"abstract":"In this paper we present OpenPonk: a free, open-source, simple to use platform for developing tools for conceptual modeling: diagramming, DSLs, and algorithms operating on the models and diagrams, such as automatic layouting, model transformations, validations, etc. This project differentiates itself from the current efforts by providing completely free and open-source live development environment, which is simple to learn, use, and extend. There are already several plugins and extensions that bring several notations and algorithms, some of which are presented in this paper, alongside the overview of the core of the platform, and how they integrate with each other. We also present a comprehensive project case study utilizing OpenPonk.","PeriodicalId":248327,"journal":{"name":"Proceedings of the 11th edition of the International Workshop on Smalltalk Technologies","volume":"6 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2016-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"114527079","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 16
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
相关产品
×
本文献相关产品
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书