• url: concatenative or maybe concat?
  • name: Concatenative Programming

Hello!

I have a real interest in (and ignorance of) concatenative programming, both the programming languages and tools that fundamentally require that pattern as well as the ones that enable it (or something similar, like ARG1 FUNC ARG2 syntax) in big or small ways here and there.

Examples of the former category include:

Examples of the latter include:


From Wikipedia:

A concatenative programming language is a point-free computer programming language in which all expressions denote functions, and the juxtaposition of expressions denotes function composition. Concatenative programming replaces function application, which is common in other programming styles, with function composition as the default way to build subroutines.

For example, a sequence of operations in an applicative language like the following:

y = foo(x)
z = bar(y)
w = baz(z)

…is written in a concatenative language as a sequence of functions:

x foo bar baz


It would be very cool to have a community here for sharing news, experiences, announcements, questions, showcases, etc. regarding these topics and tools.


Related:


Aside: I notice the sidebar has a couple small typos: “weve” and “robiticists.”