HP Forums
aOT--RPN Computer Languages - Printable Version

+- HP Forums (https://archived.hpcalc.org/museumforum)
+-- Forum: HP Museum Forums (https://archived.hpcalc.org/museumforum/forum-1.html)
+--- Forum: Old HP Forum Archives (https://archived.hpcalc.org/museumforum/forum-2.html)
+--- Thread: aOT--RPN Computer Languages (/thread-220850.html)

aOT--RPN Computer Languages - Matt Agajanian - 05-10-2012

Hello all.

Am I right in saying that FORTH is a postfix-structured language? Also, is LISP? Aside from these, are there other postfix-basd computer languages still in use?

Re: aOT--RPN Computer Languages - Paul Dale - 05-10-2012

Postscript is in very widespread use. Many, many, many, many printers use it as their native page description language. Of course, not many people see it but it is there and can be programmed in.

Quite a lot of interpreted languages use small stack machines for their intermediate code but these only marginally count as computer languages.

- Pauli

Re: aOT--RPN Computer Languages - Marcel Samek - 05-10-2012

LISP does not use postfix syntax. Its expressions use prefix syntax.


Re: aOT--RPN Computer Languages - Matt Agajanian - 05-10-2012

Thanks for the clarification. I'm not certain where on when I came across it but, I though that the RPL that is implemented in HP-28 and 48 series stood for Reverse Polish LISP. So, I thought LISP was a postfix-based notation. Or is it that the 28/48 series use LISP but a with Reverse Polish command structure?

Edited: 10 May 2012, 11:58 p.m.

Re: aOT--RPN Computer Languages - Eric Smith - 05-11-2012

Or is it that the 28/48 series use LISP but a with Reverse Polish command structure?

RPL is Lisp-like in some respects, but it definitely is not Lisp, and it obviously uses Reverse Polish Notation.

Note that "RPL" doesn't officially stand for anything. Bill Wickes has stated that the developers never called it anything other than "RPL". There are several unofficial expansions, including "ROM-based Procedural Language".

Re: aOT--RPN Computer Languages - Walter B - 05-11-2012

I concur with Valentin who called it RePeLling for obvious reasons.

Re: aOT--RPN Computer Languages - Nick_S - 05-11-2012

A Web search on concatenative programming languages will reveal a few more stack-based languages, e.g., Joy, Cat and Factor.