MetaKlaim: a type safe multi-stage language for global computing

  • Authors:
  • Gianluigi Ferrari;Eugenio Moggi;Rosario Pugliese

  • Affiliations:
  • Dipartimento di Informatica, Università di Pisa, Italy Email: giangi@di.unipi.it;Dipartimento di Informatica e Scienze dell'Informazione, Università di Genova, Italy;Dipartimento di Sistemi e Informatica, Università di Firenze, Italy

  • Venue:
  • Mathematical Structures in Computer Science
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes the design and semantics of METAKLAIM, which is a higher order distributed process calculus equipped with staging mechanisms. METAKLAIM integrates METAML (an extension of SML for multi-stage programming) and KLAIM (a Kernel Language for Agents Interaction and Mobility), to permit interleaving of meta-programming activities (such as assembly and linking of code fragments), dynamic checking of security policies at administrative boundaries and ‘traditional’ computational activities on a wide area network (such as remote communication and code mobility). METAKLAIM exploits a powerful type system (including polymorphic types á la system F) to deal with highly parameterised mobile components and to enforce security policies dynamically: types are metadata that are extracted from code at run-time and are used to express trustiness guarantees. The dynamic type checking ensures that the trustiness guarantees of wide area network applications are maintained whenever computations interoperate with potentially untrusted components.