登入
選單
返回
Google圖書搜尋
The JCop language specification : Version 1.0, April 2012
Malte Appeltauer
Robert Hirschfeld
出版
Universitätsverlag Potsdam
, 2012
主題
Computers / General
ISBN
3869561939
9783869561936
URL
http://books.google.com.hk/books?id=BdRHCT5bwREC&hl=&source=gbs_api
EBook
SAMPLE
註釋
Program behavior that relies on contextual information, such as physical location or network accessibility, is common in today's applications, yet its representation is not sufficiently supported by programming languages. With context-oriented programming (COP), such context-dependent behavioral variations can be explicitly modularized and dynamically activated. In general, COP could be used to manage any context-specific behavior. However, its contemporary realizations limit the control of dynamic adaptation. This, in turn, limits the interaction of COP's adaptation mechanisms with widely used architectures, such as event-based, mobile, and distributed programming. The JCop programming language extends Java with language constructs for context-oriented programming and additionally provides a domain-specific aspect language for declarative control over runtime adaptations. As a result, these redesigned implementations are more concise and better modularized than their counterparts using plain COP. JCop's main features have been described in our previous publications. However, a complete language specification has not been presented so far. This report presents the entire JCop language including the syntax and semantics of its new language constructs.