Erlang in ACL2: A Continuation-Passing Style Evaluator

We present an evaluator in ACL2 for Erlang, a functional language for concurrent programming. The evaluator is written in two parts: an AST evaluator and a scheduler. The AST evaluator uses continuation-passing style. At each point in an execution, each process has a current continuation that holds all state needed for further execution of the process. Thus, the global state of an Erlang program is a mapping from Erlang process identifiers to their continuations. The scheduler provides a non-deterministic interleaving of processes between globally visible actions such as process spawns and message sends and receives. We demonstrate the evaluator by proving some properties of a few simple Erlang programs.

Authors

Institutions

Publication Details

Journal
Electronic Proceedings in Theoretical Computer Science
Published
2026-12-02
DOI
https://doi.org/10.4204/eptcs.459.12
Primary Topic
Logic, programming, and type systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Erlang in ACL2: A Continuation-Passing Style Evaluator

Mark R. Greenstreet, Kuter Bora
4 links
Electronic Proceedings in Theoretical Computer Science
Logic, programming, and type systems
article

Erlang in ACL2: A Continuation-Passing Style Evaluator

Mark R. Greenstreet, Kuter Bora
article en

Abstract

We present an evaluator in ACL2 for Erlang, a functional language for concurrent programming. The evaluator is written in two parts: an AST evaluator and a scheduler. The AST evaluator uses continuation-passing style. At each point in an execution, each process has a current continuation that holds all state needed for further execution of the process. Thus, the global state of an Erlang program is a mapping from Erlang process identifiers to their continuations. The scheduler provides a non-deterministic interleaving of processes between globally visible actions such as process spawns and message sends and receives. We demonstrate the evaluator by proving some properties of a few simple Erlang programs.

Electronic Proceedings in Theoretical Computer ScienceVol. 459
University of British Columbia (CA), Max Planck Institute for Security and Privacy (DE)
Logic, programming, and type systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon