๐”– Bobbio Scriptorium
โœฆ   LIBER   โœฆ

Operational Semantics of a Focusing Debugger

โœ Scribed by Karen L. Bernstein; Eugene W. Stark


Publisher
Elsevier Science
Year
1995
Tongue
English
Weight
737 KB
Volume
1
Category
Article
ISSN
1571-0661

No coin nor oath required. For personal study only.

โœฆ Synopsis


This paper explores two main ideas: (1) a debugger for a programming language ought t o h a ve a formal semantic de nition that is closely allied to the formal definition of the language itself and (2) a debugger for very high level programming language ought to provide support for exposing hidden information in a controlled fashion. We i n vestigate these ideas by giving formal semantic de nitions for a simple functional programming language and an associated debugger for the language. The formal de nitions are accomplished using structured operational semantics, and they demonstrate one way in which the formal de nition of a debugger might b e built \on top of" the formal de nition of the underlying language. The debugger itself provides the novel capability o f a l l o wing the programmer to \focus" or shift the scope of attention in a syntax-directed fashion to a speci c subexpression within the program, and to view the execution of the program from that vantage. The main formal result about the debugger is that \focusing preserves meaning," in the sense that a program being debugged exhibits equivalent (bisimilar) operational behavior regardless of the subexpression to which the focus has been shifted.


๐Ÿ“œ SIMILAR VOLUMES


LETOS โ€“ a lightweight execution tool for
โœ Pieter H. Hartel ๐Ÿ“‚ Article ๐Ÿ“… 1999 ๐Ÿ› John Wiley and Sons ๐ŸŒ English โš– 256 KB ๐Ÿ‘ 1 views

A lightweight tool is proposed to aid in the development of operational semantics. To use LETOS an operational semantics must be expressed in its meta-language, which itself is a superset of Miranda. The LETOS compiler is smaller than comparable tools, yet LETOS is powerful enough to support publica

An Operational Semantics Framework Suppo
โœ Allen Stoughton ๐Ÿ“‚ Article ๐Ÿ“… 1998 ๐Ÿ› Elsevier Science ๐ŸŒ English โš– 638 KB

We describe the current state of the design and implementation of Dops, a framework for Deterministic OPerational Semantics that will support the incremental construction of derivation trees, starting from term/input pairs. This process of derivation tree expansion may terminate with either a comple