logoalt Hacker News

spottyesterday at 9:22 PM2 repliesview on HN

Forth I assume uses reverse polish notation: arguments before the operator.

3 4 +

for example, would return 7.


Replies

zabzonkyesterday at 10:03 PM

> would return 7

more pedantically, it would push 7 onto the stack

show 1 reply
argimenesyesterday at 10:38 PM

The stack is really a convenience that makes pipeline-driven programming possible in the language.

show 1 reply