News for hackers. Stuff that matters.
Re:Forth by zabzonk on Monday July 27, 2026 @06:03PM (#49076058)
> would return 7

more pedantically, it would push 7 onto the stack

Re:Forth by dbcurtis on Monday July 27, 2026 @07:28PM (#49077000)
even more pedantically, would remove 3 and 4 from the stack before pushing 7
Re:Forth by DonHopkins on Monday July 27, 2026 @08:07PM (#49077449)
Even oddly more pedantically, that's the operand stack, not to be confused with the separate return stack. >R and R> move values between the two stacks.

On the other hand, PostScript also has a dictionary stack, which you can use to implement a Smalltalk-like object oriented programming system. And its data types and executable code are basically polymorphic homoiconic JSON (like Lisp), not raw untyped bytes like FORTH.

https://news.ycombinator.com/item?id=22456471

https://news.ycombinator.com/item?id=47812317