RPL (programming language): Difference between revisions

Content deleted Content added
improved refs, restored compromise phrase "partial object-oriented"
Line 4:
| name = RPL
| logo =
| paradigm = [[stack-oriented programming language|Stack]], [[structured programming|structured]], [[concatenative programming language|concatenative]],<ref>{{Cite web |url=https://www.hpmuseum.org/forum/showthread.php?mode=linear&tid=15509&pid=135732 |title=The Joy of Programming? |publisher=Museum of HP Calculators |date=2020 |quotearchive-url=https://web.archive.org/web/20211203131528/https://www.hpmuseum.org/forum/showthread.php?mode=linear&tid=15509&pid=135732 |archive-date=2023-08-20}}</ref> <!-- partially [[object-oriented]]<ref>{{cite book |author-first=Gilberto E. |author-last=Urroz |title=Programming the HP 49 G Calculator in User RPL Language |date=2000 |url=https://h30434.www3.hp.com/psg/attachments/psg/palm-webossoftware/252122/1/hp49g04.pdf |archive-url=https://web.archive.org/web/20221031143355/https://h30434.www3.hp.com/psg/attachments/psg/palm-webossoftware/252122/1/hp49g04.pdf |archive-date=2022-10-31}}</ref><ref>{{Citecite web |url=https://www.hpmuseum.org/rpl.htm |title = RPL |publisher=Museum of HP Calculators |archive-url=https://web.archive.org/web/20230820203818/https://www.hpmuseum.org/rpl.htm |archive-date=2023-08-20}}</ref><ref>{{Citecite web |url=https://archived.hpcalc.org/museumforum/thread-35921.html |title=RPN/RPL — What? |date=2003 |publisher=Museum of HP Calculators |archive-url=https://web.archive.org/web/20230820204017/https://archived.hpcalc.org/museumforum/thread-35921.html |archive-date=2023-08-20}}</ref> -->
| year = 1984 (1986)
| designer = [[Hewlett-Packard]]
Line 23:
'''RPL'''{{ref|rpl_acronym_note_1}} is a [[calculator|handheld calculator]] operating system and application [[programming language]] used on [[Hewlett-Packard]]'s scientific graphing [[Reverse Polish Notation|RPN]] (Reverse Polish Notation) calculators of the [[HP-28 series|HP 28]], [[HP 48 series|48]], [[HP 49 series|49]] and [[HP 50g|50]] series, but it is also usable on non-RPN calculators, such as the [[HP 38G|38]], [[HP 39/40 series|39 and 40]] series.
 
RPL is a [[structured programming]] language based on RPN, but equally capable of processing [[infix notation|algebraic]] expressions and formulae, implemented as a [[Threadedthreaded code|threaded interpreter]].<ref name="RPL3"/> RPL has many similarities to [[Forth (programming language)|Forth]], both languages being [[stack-oriented programming language|stack]]-based, as well as the list-based [[LISP]]. Contrary to previous HP RPN calculators, which had a fixed [[4-level RPN|four-level stack]], the stack used by RPL is only limited by available calculator [[random-access memory|RAM]].
 
RPL originated from HP's [[Corvallis, Oregon]] development facility in 1984 as a replacement for the previous practice of implementing the [[operating systems]] of calculators in [[assembly language]].<ref name="RPLMAN"/> The last pocket calculator supporting RPL, the HP 50g, was discontinued in 2015.<ref name="Kuperus_2015_1"/><ref name="Kuperus_2015_2"/><ref name="Wessman_2015"/> However, <!-- an [[Mobile app|app]] is available for [[Android (operating system)|Android]], go49gp[https://play.google.com/store/apps/details?id=o2s.emul.hp49gp&hl=en_US], which emulates the HP 49g+/50g and will run RPL programs. --> multiple emulators that can emulate HP's RPL calculators exist that run on a range of operating systems, and devices, including iOS and Android smartphones.