Back to search

State University of New York at Buffalo

Choreographies as Macros

Abstract

dc:description.abstract

Concurrent programming often involves writing separate programs for each participant in the system. However, this entails meticulous matching of sends and receives among participants and makes reasoning about the order of communications difficult. Choreo-graphic programming takes a different approach, in which the system is implemented by a single program that directly describes the pattern of communications between participants, ensuring deadlock freedom by construction. Since choreographies are an actively evolving research area, it is desirable to be able to rapidly prototype new ideas and features. Yet developing a new choreographic language from the ground up would be time-consuming. Instead, a new choreographic language could be implemented as a library, allowing reuse of the host language’s features for greater functionality and correctness. To test this approach, we implement Choret, a Racket library for functional choreographic programming. Traditionally, choreographic semantics are described via projection and merging. Since projection and merging are operations on the syntax of programs, a host language needs support for manipulating syntax. LISP macros immediately come to mind for this task; many LISPs support procedural macros which permit arbitrary operations on syntax. Racket, a descendant of LISP, has particular features in its macro system that make it a good choice for implementing Choret.

Degree

thesis:*
Grantor dc:publisher
State University of New York at Buffalo
Year dc:date.issued
2025

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Bohosian, Alexander
Contributors dc:contributor
  • Hirsch, Andrew
  • Computer Science and Engineering

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • Copyright retained by author. Users of works found in University at Buffalo Institutional Repository (UBIR) are responsible for identifying and contacting the copyright owner for permission to reuse. University at Buffalo Libraries do not manage rights for copyright-protected works and cannot assist with permissions.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/10477/90566

Chain of custody

source
Harvested from
Buffalo
Base URL
ubir.buffalo.edu/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Bohosian, Alexander. Choreographies as Macros. State University of New York at Buffalo, 2025. http://hdl.handle.net/10477/90566