Reverse Polish Notation interpreter for use as an interactive calculator in conjunction with the standard Python interactive interpreter. Easily extended by the user.
REPCAL (REverse Polish CALculator) is a light and fast calculator in RPN (reverse polish notation) mode for the console (command line). It is written in 180 lines of Python code, and can be used both interactively or inside shell scripts.