prefix notation and () on newRPL project
|
01-21-2019, 07:40 PM
(This post was last modified: 01-21-2019 08:24 PM by Albert Chan.)
Post: #4
|
|||
|
|||
RE: prefix notation and () on newRPL project
(01-21-2019 05:06 PM)compsystems Wrote: ◉ Observing the u_LISP project that has a notation similar to the prefix notation, and that the R-PN is a inverse prefix. Infix or rpn macro is not hard, but you are better off stay with lisp syntax. It does not take much time to get used to (* (+ 3 4) (- 5 6)) BTW, does u-lisp support macro ? Quote:◉ A second idea, RPN with parentheses, this gives a faster interpretation of the source code It might not run faster. I never tried u-lisp, but with Chez scheme 7.4d, (+ a b c) is slower than (+ (+ a b) c) Above assumed a,b,c are variables. With numbers, both form optimized to a single number. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)