4 ms·
Only partly so, I'm stretching it a bit but HP Calc's RPN is inspired by lisp, and emacs calc is in turn stack based, just like RPN :) It's a big cross polliniz
by agumonkey 4y ago
Only partly so, I'm stretching it a bit but HP Calc's RPN is inspired by lisp, and emacs calc is in turn stack based, just like RPN :) It's a big cross pollinization fest.
- zasdffaa 4y agoRPN is forth not lisp, and I seriously doubt HP got their idea from emacs. I think HP's RPN precedes the first release of emacs anyway. Edit: 1st release of emacs was 1976 so I take that last bit back.
- agumonkey 4y agoSorry, I mistyped. I was thinking about HP42 and above RPL not the basic RPN. RPL is a blend of lisp idiom on top of good old stack based RPN (list, map, numerical tower). It goes so far that they even added quoted lambda expressions. You could push << a -> + a a >> on your stack.
- jhallenworld 4y agoRPL is like LISP in that it's all about quoting. ' and eval are primary (unshifted) keys on these calculators. There was a LISP based pocket computer: the Casio AI-1000: https://www.youtube.com/watch?v=H-yuZ2pejGU https://www.youtube.com/watch?v=H-yuZ2pejGU
- Jtsummers 4y agoIt's use of RPN wasn't, but RPL was with one meaning for it being "Reverse Polish Lisp". https://en.wikipedia.org/wiki/RPL_(programming_language) https://en.wikipedia.org/wiki/RPL_(programming_language)