计算机科学 > 程序设计语言
[提交于 2015年6月17日]
标题:jUCM: Universal Class Morphing (position paper)
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:We extend prior work on class-morphing to provide a more expressive pattern-based compile-time reflection language. Our MorphJ language offers a disciplined form of metaprogramming that produces types by statically iterating over and pattern-matching on fields and methods of other types. We expand such capabilities with "universal morphing", which also allows pattern-matching over types (e.g., all classes nested in another, all supertypes of a class) while maintaining modular type safety for our meta-programs. We present informal examples of the functionality and discuss a design for adding universal morphing to Java.
提交历史
来自:Aggelos Biboudis[v1] 2015年6月17日 星期三 10:28:41 UTC