ACM Transactions on Computational LogicOpen accessComputer science

Non-Deterministic Abstract Machines

Małgorzata Biernacka, Dariusz Biernacki, Sergueï Lenglet, Alan Schmitt

University of Wrocław · Université Sorbonne Paris Nord

Key points

From the paper's conclusion
  • A generic design of abstract machines for non-deterministic programming languages such as process calculi or the lambda calculus with full non-deterministic eta ext{-reduction was presented.
  • The search is guaranteed to terminate thanks to term annotations the machine introduces along the way.
  • Zipper semantics themselves can be generated from a reduction semantics, a format commonly used to describe the semantics of sequential languages, in particular effectful ones.

Abstract

We present a generic design of abstract machines for non-deterministic programming languages such as process calculi or the lambda calculus with full non-deterministic \(\beta\) -reduction. Such a machine traverses a term in the search for a redex, making non-deterministic choices when several paths are possible and backtracking when it reaches a dead end, i.e., an irreducible subterm. The search is guaranteed to terminate thanks to term annotations the machine introduces along the way. We show how to automatically derive a non-deterministic abstract machine from a zipper semantics—a form of structural operational semantics in which the decomposition process of a term into a context and a redex is made explicit. The derivation method ensures the soundness and completeness of the machines w.r.t. the zipper semantics. Zipper semantics themselves can be generated from a reduction semantics, a format commonly used to describe the semantics of sequential languages, in particular effectful ones.

Read the paper

Discussion · 1

Science Skim's AI key points, plus readers' public thoughts

Science SkimAI key points
Pinned
  • A generic design of abstract machines for non-deterministic programming languages such as process calculi or the lambda calculus with full non-deterministic eta ext{-reduction was presented.
  • The search is guaranteed to terminate thanks to term annotations the machine introduces along the way.
  • Zipper semantics themselves can be generated from a reduction semantics, a format commonly used to describe the semantics of sequential languages, in particular effectful ones.

Readers' thoughts

No reader thoughts yet.

Related papers