In the times of mobility and pervasiveness of computing, contextual information plays an increasingly crucial role in applications. This kind of information becomes a first class citizen in context-oriented programming (COP) paradigm. COP languages provide primitive constructs for easily writing applications that adapt their behaviour depending on the evolution of their operational environment, namely the context. We present these new constructs, the issues and the challenges that arise, reporting on our recent work on ML_CoDa. It is a declarative language specifically designed for adaptation and equipped with a clear formal semantics and analysis tools. We will dis- cuss some experiments done with a preliminary implementation of ML_CoDa. Through them we will show how applications and context interactions can be better specified, analysed and controlled.

Programming in a context-aware language

Chiara Bodei;Pierpaolo Degano;Gian-Luigi Ferrari;
2019-01-01

Abstract

In the times of mobility and pervasiveness of computing, contextual information plays an increasingly crucial role in applications. This kind of information becomes a first class citizen in context-oriented programming (COP) paradigm. COP languages provide primitive constructs for easily writing applications that adapt their behaviour depending on the evolution of their operational environment, namely the context. We present these new constructs, the issues and the challenges that arise, reporting on our recent work on ML_CoDa. It is a declarative language specifically designed for adaptation and equipped with a clear formal semantics and analysis tools. We will dis- cuss some experiments done with a preliminary implementation of ML_CoDa. Through them we will show how applications and context interactions can be better specified, analysed and controlled.
2019
Bodei, Chiara; Degano, Pierpaolo; Ferrari, Gian-Luigi; Galletta, Letterio
File in questo prodotto:
File Dimensione Formato  
JOS_PaCT'17-1.pdf

Open Access dal 01/01/2021

Descrizione: Articolo principale
Tipologia: Documento in Post-print
Licenza: Tutti i diritti riservati (All rights reserved)
Dimensione 209.51 kB
Formato Adobe PDF
209.51 kB Adobe PDF Visualizza/Apri
s11227-018-2603-3.pdf

non disponibili

Tipologia: Versione finale editoriale
Licenza: NON PUBBLICO - accesso privato/ristretto
Dimensione 433.92 kB
Formato Adobe PDF
433.92 kB Adobe PDF   Visualizza/Apri   Richiedi una copia

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11568/930264
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? 0
social impact