arXiv · 2612.05751
Erlang in ACL2: A Continuation-Passing Style Evaluator
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.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Kuter Bora, Mark R. Greenstreet. 2026-12-03. Erlang in ACL2: A Continuation-Passing Style Evaluator. https://doi.org/10.4204/eptcs.459.12. https://searcharxiv.org/abs/2612.05751
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.