JOURNAL ARTICLE

Executing an SECD machine using logic programming

Abstract

Students usually find formal methods of describing programming languages very difficult because of the cryptic notation, the complexity of the techniques, and the size of the specifications. The SECD abstract machine provides a small but clear description of the operational semantics of the lambda calculus. By implementing the SECD machine in Prolog, we give students a tool for testing specifications and for experimenting with alternate language semantics in an interactive setting.

Keywords:
Programming language Computer science Prolog Semantics (computer science) Abstract machine Logic programming Operational semantics Notation Theoretical computer science Mathematics

Metrics

1
Cited By
0.00
FWCI (Field Weighted Citation Impact)
4
Refs
0.19
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Topics

Logic, programming, and type systems
Physical Sciences →  Computer Science →  Artificial Intelligence
Logic, Reasoning, and Knowledge
Physical Sciences →  Computer Science →  Artificial Intelligence
Teaching and Learning Programming
Physical Sciences →  Computer Science →  Computer Science Applications

Related Documents

JOURNAL ARTICLE

Executing an SECD machine using logic programming

Ken Slonneger

Journal:   ACM SIGCSE Bulletin Year: 1995 Vol: 27 (1)Pages: 228-232
BOOK-CHAPTER

Secd-m: a virtual machine for applicative programming

Samson AbramskyR. B. Sykes

Lecture notes in computer science Year: 1985 Pages: 81-98
JOURNAL ARTICLE

The Tail-Recursive SECD Machine

John D. Ramsdell

Journal:   Journal of Automated Reasoning Year: 1999 Vol: 23 (1)Pages: 43-62
© 2026 ScienceGate Book Chapters — All rights reserved.