skip to main content
10.1145/1960510.1960515acmotherconferencesArticle/Chapter ViewAbstractPublication PagesmodularityConference Proceedingsconference-collections
research-article

ContextFJ: a minimal core calculus for context-oriented programming

Published:21 March 2011Publication History

ABSTRACT

We develop a minimal core calculus called ContextFJ to model language mechanisms for context-oriented programming (COP). Unlike other formal models of COP, ContextFJ has a direct operational semantics that can serve as a precise description of the core of COP languages. We also discuss a simple type system that helps to prevent undefined methods from being accessed via proceed.

References

  1. Sven Apel, Christian Kästner, and Christian Lengauer. Feature Featherweight Java: a calculus for feature-oriented programming and step-wise refinement. In GPCE, 2008. doi:10.1145/1449913.1449931. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Malte Appeltauer, Robert Hirschfeld, Michael Haupt, and Hidehiko Masuhara. ContextJ: Context-oriented programming with Java. Computer Software, 28(1):272--292, January 2011.Google ScholarGoogle Scholar
  3. Don Batory, Jacob Neal Sarvela, and Axel Rauschmayer. Scaling step-wise refinement. TSE, 2004. doi:10.1109/TSE.2004.23.Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Pascal Costanza and Robert Hirschfeld. Language constructs for context-oriented programming - an overview of ContextL. In DLS, 2005. doi:10.1145/1146841.1146842. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Benjamin Delaware, William Cook, and Don Batory. A machine-checked model of safe composition. In FOAL, 2009. doi:10.1145/1509837.1509846. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Robert Hirschfeld, Pascal Costanza, and Michael Haupt. An introduction to context-oriented programming with ContextS. In GTTSE, 2008. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Robert Hirschfeld, Pascal Costanza, and Oscar Nierstrasz. Context-oriented programming. JOT, 2008.Google ScholarGoogle ScholarCross RefCross Ref
  8. Atsushi Igarashi, Benjamin C. Pierce, and Philip Wadler. Feather-weight Java: A minimal core calculus for Java and GJ. TOPLAS, 2001. doi:10.1145/503502.503505. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Tetsuo Kamina, Tomoyuki Aotani, and Hidehiko Masuhara. EventCJ: A context-oriented programming language with declarative event-based context transition. In Proc. of AOSD, 2011. (to appear). Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Jens Lincke, Malte Appeltauer, Bastian Steinert, and Robert Hirschfeld. An open implementation for context-oriented layer composition in ContextJS. SCP, 2010. doi:10.1016/j.scico.2010.11.013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Tim Molderez, Hans Schippers, Dirk Janssens, Michael Haupt, and Robert Hirschfeld. A platform for experimenting with language constructs for modularizing crosscutting concerns. In WASDeTT, 2010.Google ScholarGoogle Scholar
  12. Ina Schaefer, Lorenzo Bettini, Viviana Bono, Ferruccio Damiani, and Nico Tanzarella. Delta-oriented programming of software product lines. In SPLC, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Ina Schaefer, Lorenzo Bettini, and Ferruccio Damiani. Compositional type-checking for delta-oriented programming. In AOSD, 2011. (to appear). Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. Hans Schippers, Dirk Janssens, Michael Haupt, and Robert Hirschfeld. Delegation-based semantics for modularizing crosscutting concerns. In OOPSLA, 2008. doi:10.1145/1449764.1449806. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. ContextFJ: a minimal core calculus for context-oriented programming

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Other conferences
          FOAL '11: Proceedings of the 10th international workshop on Foundations of aspect-oriented languages
          March 2011
          40 pages
          ISBN:9781450306447
          DOI:10.1145/1960510

          Copyright © 2011 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 21 March 2011

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate5of6submissions,83%

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader