Concatenative programming and stack-based languages

In this talk we’ll explore stack-based programming languages, in which your program operates directly (and only!) on a stack of values. It might seem daunting at first to program without variable names, but the simplicity of stack-based languages makes them interesting to reason about mathematically, and also fun to tinker with! We’ll look at how stack-based languages are concatenative, letting you break apart your program into arbitrary pieces without affecting its meaning. We’ll compare them with combinatory logic, and see how small we can make our language while still being Turing-complete. And we’ll show how they make good low-level (but still readable!) assembly languages, by examining a Uxn program and running it on a variety of interesting hardware.

References:

=> [Baker1994] Linear logic and permutation stacks | [Pestov2010] Factor: A dynamic stack-based programming language

Strange Loop, September 2023

=> Video (YouTube) | Strange Loop event page | Slides | Talk proposal

=> [Garden] Concatenative programming languages | [Garden] PyBadge notes | Can you compile quotations in parallel? | Categories of instructions in a concatenative basis

Proxy Information
Original URL
gemini://dcreager.net/talks/concatenative-languages.gmi
Status Code
Success (20)
Meta
text/gemini;lang=en
Capsule Response Time
407.177514 milliseconds
Gemini-to-HTML Time
1.625437 milliseconds

This content has been proxied by September (ba2dc).