Concatenative Implies Live

Attila Egri-Nagy

Presented at the 12th Workshop on Live Programming (LIVE 2026). https://doi.org/10.5281/zenodo.24409956

What happens when a programming language does not have variables and even the function parameters are without names? For sure, code becomes unreadable due to the cognitive load of imagining and keeping track of data transformations. A good solution is to work in a live REPL. In this talk, we will describe a concatenative functional language and demonstrate how an interactive coding environment turns unintelligible code into the easiest programming language to learn. We also mention why would anyone use a language in which every sequence of symbols is syntactically valid.

https://codeberg.org/egri-nagy/con-cat

The headline

By letting the requirement of immediate productivity go, we can freely explore the design space of programming languages. Concatenative functional languages offer a combination of particularly elegant mathematical semantics and educational value, but being live is a must.

Building on the past

The programming language Joy by philosopher-programmer Manfred von Thun was the first concatenative functional language. It originates from Forth and Lisp. Our implementation also borrowed a lot from Clojure, most notably the immutable data structures and its full-language REPL. Con-Cat is different from all these by its primary goal: having a very specific denotational semantics.

Keeping a critical eye

The work is ongoing. Programming language design is not a single event. Once a language is in a usable state, it becomes clear what the next iteration should do. Indeed, after developing a language that can accommodate logic programming and can be used for solving Project Euler problems, I am working on another version with a more compact set of primitive operators.

Also, having a REPL is not the ultimate form of live feedback. We could include more immediate feedback, e.g., type inference as you type.