Contexts as First-Class Objects: An Implementation based on the SICStus Prolog System


Enrico Denti, Antonio Natali, Andrea Omicini

Stefania Costantini (eds.)
“7th Italian Conference on Logic Programming (GULP'92)”, pages 307–320
Città Studi, Milano, Italy
June 1992

This work provides a new view of contexts by defining them as primitives data types whose instances can be interpreted in two ways: as structured binding environments and as first-class objects. To achieve such a goal, an implementation is presented in which contexts are completely configured data structures, created by using the SICStus Prolog system support for modular programming. The main advantage of the implementation is to exploit the efficient indirect addressing scheme of SICStus Prolog in order to implement all the contextual binding mechanisms (late binding included) in a uniform way.



  • 7th Italian Conference on Logic Programming (GULP 1992) — 17/06/1992–19/06/1992


— authors

— editors

Stefania Costantini

— status


— sort

paper in proceedings

— publication date

June 1992

— volume

7th Italian Conference on Logic Programming (GULP'92)

— pages


— location

Tremezzo, Como, Italy

Partita IVA: 01131710376 — Copyright © 2008–2023 APICe@DISI – PRIVACY