The downvotes are weird.
Concatenative Programming
Hello!
This space is for sharing news, experiences, announcements, questions, showcases, etc. regarding concatenative programming concepts and tools.
We'll also take any programming described as:
- pipelined
- stack-oriented
- tacit
- postfix / reverse Polish notation (RPN)
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
Active Languages
Let me know if I've got any of these misplaced!
Primarily Concatenative
Concatenative-ish, Chain-y, Pipe-y, Uniform Function Call Syntax, etc.
- Nim
- Roc
- Unix Pipes
- Cognate
- D Programming Language
- Koka
Cheat Sheets & Tutorials
Discord
IRC
- #concatenative on irc.libera.chat
Wikis
Wikipedia Topics
Subreddits
GitHub Topics
- Stack-Based Language
- Concatenative
- Concatenative Language
- Concatenative Programming Language
- Concatenative Interpreting Language
Blogs
Practice
- Codewars (Forth, Factor, Nim)
- Advent of Code
- Code Golf (Forth, Factor, Nim)
- Project Euler
- Exercism (Nim)
- Perl Weekly Challenge
Wow, the first submission here with a negative score. I'm guessing it's because it mentions bitcoin.
Well, I'll say that bitcoin is not the point here, but rather that the author is enthusiastically embracing forth, with its "directness," simplicity, and portability. You can find more in the lobsters comments.
The author plans to port their small Zig subtitle-displaying project to forth, and hopes to use forth for all their systems programming needs in the future.