Javascript must be enabled to continue!
Abstracting definitional interpreters (functional pearl)
View through CrossRef
In this functional pearl, we examine the use of definitional interpreters as a basis for abstract interpretation of higher-order programming languages. As it turns out, definitional interpreters, especially those written in monadic style, can provide a nice basis for a wide variety of collecting semantics, abstract interpretations, symbolic executions, and their intermixings.
But the real insight of this story is a replaying of an insight from Reynold's landmark paper,
Definitional Interpreters for Higher-Order Programming Languages
, in which he observes definitional interpreters enable the defined-language to inherit properties of the defining-language. We show the same holds true for definitional
abstract
interpreters. Remarkably, we observe that abstract definitional interpreters can inherit the so-called “pushdown control flow” property, wherein function calls and returns are precisely matched in the abstract semantics, simply by virtue of the function call mechanism of the defining-language.
The first approaches to achieve this property for higher-order languages appeared within the last ten years, and have since been the subject of many papers. These approaches start from a state-machine semantics and uniformly involve significant technical engineering to recover the precision of pushdown control flow. In contrast, starting from a definitional interpreter, the pushdown control flow property is inherent in the meta-language and requires no further technical mechanism to achieve.
Association for Computing Machinery (ACM)
Title: Abstracting definitional interpreters (functional pearl)
Description:
In this functional pearl, we examine the use of definitional interpreters as a basis for abstract interpretation of higher-order programming languages.
As it turns out, definitional interpreters, especially those written in monadic style, can provide a nice basis for a wide variety of collecting semantics, abstract interpretations, symbolic executions, and their intermixings.
But the real insight of this story is a replaying of an insight from Reynold's landmark paper,
Definitional Interpreters for Higher-Order Programming Languages
, in which he observes definitional interpreters enable the defined-language to inherit properties of the defining-language.
We show the same holds true for definitional
abstract
interpreters.
Remarkably, we observe that abstract definitional interpreters can inherit the so-called “pushdown control flow” property, wherein function calls and returns are precisely matched in the abstract semantics, simply by virtue of the function call mechanism of the defining-language.
The first approaches to achieve this property for higher-order languages appeared within the last ten years, and have since been the subject of many papers.
These approaches start from a state-machine semantics and uniformly involve significant technical engineering to recover the precision of pushdown control flow.
In contrast, starting from a definitional interpreter, the pushdown control flow property is inherent in the meta-language and requires no further technical mechanism to achieve.
Related Results
Interpreters in Our Midst
Interpreters in Our Midst
When deaf people work in professional environments and participate in public events, we are often accompanied by sign language interpreters. This usually means wonderfully enhanced...
Interpreting Impoliteness: Interpreters’ Voices
Interpreting Impoliteness: Interpreters’ Voices
Interpreters in the public sector in Norway interpret in a variety of institutional encounters, and the interpreters evaluate the majority of these encounters as polite. However, s...
Evaluating Intercropping Limitations of Cowpea (Vignaunguiculata L.), Pearl Millet (Pennisetumglaucum L.), and Maize (Zea Mays L.)
Evaluating Intercropping Limitations of Cowpea (Vignaunguiculata L.), Pearl Millet (Pennisetumglaucum L.), and Maize (Zea Mays L.)
Fodder scarcity is a main problem in boosting of livestock sector. Hypothesis was made in order to increase fodder yield per unit of land by intercropping of cowpeas, pearl millet ...
Sustaining the Pearl River: Problems, Chanllenges, and Opportunities
Sustaining the Pearl River: Problems, Chanllenges, and Opportunities
The Pearl River is a large water system, which is the second largest river (in terms of mean annual water discharge) in China. The Pearl River Basin consists of three major rivers,...
Social Work with Interpreters
Social Work with Interpreters
Social workers help very culturally diverse populations. Therefore social workers are likely to work with language interpreters in various settings such as mental health agencies, ...
Kazakhstani Simultaneous Interpreters’ Perceptions Concerning Interpretation Techniques and Tools
Kazakhstani Simultaneous Interpreters’ Perceptions Concerning Interpretation Techniques and Tools
This study examines the key issues of simultaneous interpretation from the practitioners’ viewpoint. It is framed within the context of interpreters’ competences and the main tools...
Pearl Farming Micro-Nanoplastics Affect Oyster Physiology and Pearl Quality
Pearl Farming Micro-Nanoplastics Affect Oyster Physiology and Pearl Quality
Abstract
Pearl farming is crucial for the economy of French Polynesia. However, rearing structures contribute significantly to plastic waste, and the widespread contaminati...
The Role of Court Interpreters Under the Attitude of Appraisal Theory Case Study on Sun Yang’s Public Hearing
The Role of Court Interpreters Under the Attitude of Appraisal Theory Case Study on Sun Yang’s Public Hearing
The role of interpreters standing as a controversial topic has aroused unquiet debates in academia of interpreting studies. Traditional interpreting studies emphasize faithfulness ...

