Constraining application behaviour by generating languages

Paul Van Der Walt 1, *
* Auteur correspondant
1 Phoenix - Programming Language Technology For Communication Services
LaBRI - Laboratoire Bordelais de Recherche en Informatique, Inria Bordeaux - Sud-Ouest, EA4136 - Handicap et système nerveux :Action, communication, interaction: rétablissement de la fonction et de la participation [Bordeaux]
Abstract : Writing a platform for reactive applications which enforces operational constraints is difficult, and has been approached in various ways. In this experience report, we detail an approach using an embedded DSL which can be used to specify the structure and permissions of a program in a given application domain. Once the developer has specified which components an application will consist of, and which permissions each one needs, the specification itself evaluates to a new, tailored, language. The final implementation of the application is then written in this specialised environment where precisely the API calls associated with the permissions which have been granted, are made available. Our prototype platform targets the domain of mobile computing , and is implemented using Racket. It demonstrates resource access control (e.g., camera, address book, etc.) and tries to prevent leaking of private data. Racket is shown to be an extremely effective platform for designing new programming languages and their run-time libraries. We demonstrate that this approach allows reuse of an inter-component communication layer, is convenient for the application developer because it provides high-level building blocks to structure the application, and provides increased control to the platform owner, preventing certain classes of errors by the developer.
Type de document :
Communication dans un congrès
8th European Lisp Symposium, Apr 2015, London, United Kingdom. <http://www.european-lisp-symposium.org/>
Liste complète des métadonnées


https://hal.inria.fr/hal-01140459
Contributeur : Paul Van Der Walt <>
Soumis le : vendredi 10 avril 2015 - 11:14:11
Dernière modification le : mercredi 14 décembre 2016 - 01:07:14
Document(s) archivé(s) le : mardi 18 avril 2017 - 16:16:51

Licence


Distributed under a Creative Commons Paternité - Pas d'utilisation commerciale - Partage selon les Conditions Initiales 4.0 International License

Identifiants

  • HAL Id : hal-01140459, version 1
  • ARXIV : 1504.02001

Collections

Citation

Paul Van Der Walt. Constraining application behaviour by generating languages. 8th European Lisp Symposium, Apr 2015, London, United Kingdom. <http://www.european-lisp-symposium.org/>. <hal-01140459>

Partager

Métriques

Consultations de
la notice

190

Téléchargements du document

267