How much LISP is in RPL?
|
04-21-2014, 08:58 PM
(This post was last modified: 04-21-2014 08:59 PM by Matt Agajanian.)
Post: #1
|
|||
|
|||
How much LISP is in RPL?
Hi all.
How much (and to what capacity) of LISP is in the RPL for both the 48GX and 50G? |
|||
04-21-2014, 11:42 PM
Post: #2
|
|||
|
|||
RE: How much LISP is in RPL?
(04-21-2014 08:58 PM)Matt Agajanian Wrote: How much (and to what capacity) of LISP is in the RPL for both the 48GX and 50G? Lisp uses prefix notation, so instead of 3 4 + they write (+ 3 4). Thus regarding the syntax there's not much in common. You see a lot of parentheses leading to the famous quote by Larry Wall: Quote:Lisp has all the visual appeal of oatmeal with fingernail clippings mixed in. However both 48GX and 50G provide some operations on lists e.g. STREAM which acts similar to reduce: Code: (reduce #'+ '(1 2 3 4)) => 10 And then functions are first-class citizens both in Lisp and RPL which is always nice. Cheers Thomas |
|||
04-21-2014, 11:53 PM
Post: #3
|
|||
|
|||
RE: How much LISP is in RPL?
So, if RPL is primarily postfix and contains a minutely small subset of Lisp commands, how did RPL come to be known as Reverse Polish Lisp?
|
|||
04-22-2014, 12:12 AM
Post: #4
|
|||
|
|||
RE: How much LISP is in RPL?
(04-21-2014 11:53 PM)Matt Agajanian Wrote: how did RPL come to be known as Reverse Polish Lisp? http://www.faqs.org/faqs/hp/hp48-faq/part2: Quote: RPL is the name of the language used to program the HP48 and |
|||
04-22-2014, 12:46 AM
Post: #5
|
|||
|
|||
RE: How much LISP is in RPL?
Fair enough. Thanks for the refresher.
|
|||
04-22-2014, 01:35 AM
Post: #6
|
|||
|
|||
RE: How much LISP is in RPL?
Another quote from Bill Wickes:
Quote:"BEGINNINGS Extract from "The HP-28C: AN INSIDER'S PERSPECTIVE - William C. Wickes, HP-28C Project Manager" , published in HPX Exchange V1N1 January/February 1987. |
|||
04-22-2014, 01:46 AM
Post: #7
|
|||
|
|||
RE: How much LISP is in RPL?
(04-22-2014 01:35 AM)Didier Lachieze Wrote: Another quote from Bill Wickes: Didier, Thanks for this in-depth history lesson as well! |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)