concatenative
Installation
SKILL.md
Concatenative Programming Skill
"Programs are composed by concatenation. The stack is the only state."
Core Concept
In concatenative languages:
- Stack is the implicit data structure
- Words (functions) transform the stack
- Composition = Concatenation —
f gmeans "do f, then g" - No variables (mostly) — data flows through stack
3 4 + \ Push 3, push 4, add → 7 on stack
dup * \ Duplicate top, multiply → 49