Transforming Big-Step to Small-Step Semantics Using Interpreter Specialisation

John P. Gallagher*, Manuel V. Hermenegildo, José F. Morales, Pedro López-García

*Corresponding author for this work

Research output: Chapter in Book/Report/Conference proceedingArticle in proceedingsResearchpeer-review

Abstract

Natural semantics (big-step) and structural operational semantics (small-step) each have advantages, so it can be useful to produce both semantic forms for a language. Previous work has shown that big-step semantics can be transformed to small-step semantics. This is also the goal of our work, but our main contribution is to show that this can be done by specialisation of an interpreter that imposes a small-step execution on big-step transition rules. This is arguably more direct, transparent and flexible than previous methods. The paper contains two examples and further examples are available in an online repository
Original languageEnglish
Title of host publicationLogic-Based Program Synthesis and Transformation : 33rd International Symposium, LOPSTR 2023, Cascais, Portugal, October 23-24, 2023, Proceedings
EditorsRobert Glück, Bishoksan Kafle
Number of pages11
Volume14330
PublisherSpringer
Publication date2023
Pages28-38
ISBN (Print)9783031457838
ISBN (Electronic)978-3-031-45784-5
DOIs
Publication statusPublished - 2023
Event33rd International Symposium on Logic-Based Program Synthesis and Transformation - Cascais, Portugal
Duration: 23 Oct 202324 Oct 2023
Conference number: 33

Symposium

Symposium33rd International Symposium on Logic-Based Program Synthesis and Transformation
Number33
Country/TerritoryPortugal
CityCascais
Period23/10/202324/10/2023
SeriesLecture Notes in Computer Science
Number14330

Keywords

  • Interpreter specialisation
  • Operational semantics

Cite this