2013年
Method slots: Supporting methods, events, and advices by a single language construct
AOSD 2013 - Proceedings of the 2013 ACM on Aspect-Oriented Software Development
- ,
- 開始ページ
- 197
- 終了ページ
- 208
- 記述言語
- 英語
- 掲載種別
- 研究論文(国際会議プロシーディングス)
- DOI
- 10.1145/2451436.2451460
To simplify the constructs that programmers have to learn for using paradigms, we extend methods to a new language construct, a method slot, to support both the event-handler paradigm and the aspect paradigm. A method slot is an object's property that can keep more than one function closure and be called like a method. We also propose a Java-based language, DominoJ, which replaces methods in Java with method slots, and explain the behavior of method slots and the operators. Then we evaluate the coverage of expressive ability of method slots by comparing DominoJ with other languages in detail. The feasibility of method slots is shown as well by implementing a prototype compiler and running a preliminary microbenchmark for it. Copyright © 2013 ACM.
- ID情報
-
- DOI : 10.1145/2451436.2451460
- SCOPUS ID : 84875981893