Post Reply 
NewRPL: RPN with brackets (A * B) + (C / D) => (A B *) (C D /)
04-15-2018, 03:03 PM
Post: #1
NewRPL: RPN with brackets (A * B) + (C / D) => (A B *) (C D /)
Hello, one of the difficulties of reading a program code written in RPL and expressions, written Reverse Polish Notation (RPN) is knowing how to identify the scope of the expressions, that is, from where they begin and end.

One option is to add brackets () and to differentiate the ASCII symbols 28 and 29, use the hexadecimal values 276a 276b ❪❫

(A * B) + (C / D) => (A B *) (C D /) + => ❪A B *❫ ❪C D /❫

[Image: rpn_with_brackets.png]

Good idea?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
NewRPL: RPN with brackets (A * B) + (C / D) => (A B *) (C D /) - compsystems - 04-15-2018 03:03 PM



User(s) browsing this thread: 1 Guest(s)