JavaCtx:面向上下文编程的无缝工具链集成
JavaCtx: Seamless Toolchain Integration for Context-Oriented Programming
摘要:
面向上下文的编程是一种新兴的范式,它在语言层次上解决了软件动态适应和上下文相关问题的模块化问题。在本文中,我们提出了JavaCtx,一个工具,它采用编码约定生成的上下文感知的Java程序的语义,并随后将其编织到应用程序。JavaCtx的贡献是双重的:设计了一组编码约定,允许用普通Java编写面向上下文的软件,以及面向上下文的语义注入的概念,允许引入上下文感知的语义,而无需源到源的编译过程,这会破坏代码的结构。这两点都允许在现有的工业强度设备中无缝集成JavaCtx,并且大大简化了面向上下文的软件的开发。
英文摘要:
Context-oriented programming is an emerging paradigm addressing at the language level the issue of dynamic software adaptation and modularization of context-specific concerns. In this paper we propose JavaCtx, a tool which employs coding conventions to generate the context-aware semantics for Java programs and subsequently weave it into the application. The contribution of JavaCtx is twofold: the design of a set of coding conventions which allow to write context-oriented software in plain Java and the concept of context-oriented semantics injection, which allows to introduce the context-aware semantics without a source-to-source compilations process which disrupts the structure of the code. Both these points allow to seamless integrate JavaCtx in the existing industrial-strength appliances and by far ease the development of context-oriented software.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。