cm0002@suppo.fi to Programmer Humor@programming.dev · 2 days agoForthsuppo.fiexternal-linkmessage-square12fedilinkarrow-up128arrow-down11file-text
arrow-up127arrow-down1external-linkForthsuppo.ficm0002@suppo.fi to Programmer Humor@programming.dev · 2 days agomessage-square12fedilinkfile-text
minus-squaredavidgro@lemmy.worldlinkfedilinkarrow-up3·edit-22 days agoHuh, it’s that buffer thing that I didn’t know about and isn’t mentioned in your link (maybe it’s Forth specific?), I use an RPN calculator app, but everything goes on the stack, so “This” would be on the bottom and be popped off last.
minus-squarelad@programming.devlinkfedilinkEnglisharrow-up2·1 day agoIt looks to me that it is either Forth, or implementation specific, not RPN in general. But then again, the meme is about Forth, not RPN
minus-squareAVincentInSpace@pawb.sociallinkfedilinkEnglisharrow-up2arrow-down1·2 days agoMy guess is that POLISH and REVERSE modify the top stack element immediately
Huh, it’s that buffer thing that I didn’t know about and isn’t mentioned in your link (maybe it’s Forth specific?), I use an RPN calculator app, but everything goes on the stack, so “This” would be on the bottom and be popped off last.
Did Randall get this one wrong?
It looks to me that it is either Forth, or implementation specific, not RPN in general. But then again, the meme is about Forth, not RPN
My guess is that POLISH and REVERSE modify the top stack element immediately