That's interesting! What makes a programming language stack-based?
The main thing is that arguments are passed implicitly via a stack rather than as an argument list like in most other languages. For example, in C you might write:
int sumThree(a,b,c) { return a + b + c; }
But in Forth you would write:
: SUM-THREE + + ;
Which defines a new function (called "words" in Forth) that calls the "+" word twice. + takes the top two elements off the stack, adds them, then pushes the result, so doing it twice ("+ +") sums the top three numbers on the stack.
You wind up naming a lot fewer variables because so much state is passed around implicitly, but that also makes it kind of hard to manage and debug 😅