Macro-driven metalanguage for writing Pyramid Scheme programs

Published in Sigbovik, 2021

Abstract

In this work we present a metalanguage which allows simpler writing of Pyramid Scheme programs. We first introduce the Pyramid Scheme itself, pointing out some more interesting features. We then proceed to define a base lisp-like notation for Pyramid Scheme (called psll), and expand on it with local macros (and semi-local) macro expansions which allow for higher-level constructs. Notably, we introduce strings, arrays and preprocessor definitions which can be used akin to functions.

This publication is intended as an elaborate joke which, nevertheless, contains a healthy dose of quite real and elaborate programming effort.

Proceedings of SIGBOVIK 2021: http://sigbovik.org/2021/proceedings.pdf

GiHub: https://github.com/MarcinKonowalczyk/psll-lang

Cite as: Konowalczyk, Marcin, “Macro-driven metalanguage for writing Pyramid Scheme programs”, Proceedings of SIGBOVIK 2021, Association for Computational Heresy.