Skip to content
/ rpxe Public

Small unix tool for evaluating reverse polish notation expressions

License

Notifications You must be signed in to change notification settings

akinhet/rpxe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rpxe

This is a small command line tool used to evaluate reverse polish notation mathematical expressions.

Usage

Reverse polish notation is an alternative way of writing mathematical expressions. In RPN the operands (the numbers) always come before the operator, there are no parenthesis and the only rule regarding order of operations is left to right.

Example:
2 * (3 + 4) is equivalent to 2 3 4 + *

Installation

On Unix:
make clean install you will probably need root access

On Windows:
Uhhh... good luck :)

Known bugs

  • When using * symbol for multiplication, you'll need to escape it or put it in quotation marks, otherwise bash will substitute it with all of the files in the directory

About

Small unix tool for evaluating reverse polish notation expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published