Paul's Weblog 8/6/2018

RPN: Postfix Notation

Read Original

This article explains Reverse Polish Notation (RPN), or postfix notation, as an alternative to infix notation that eliminates the need for parentheses and order of operations. It covers the basics of RPN, its stack-based evaluation paradigm, and includes a practical JavaScript function to evaluate RPN expressions. The author also discusses the historical use of RPN in Hewlett-Packard calculators and recommends tools like the HP-50g, RealCalc for Android, and the `dc` CLI tool.

RPN: Postfix Notation

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week