Reverse Polish notation calculator with command-line interface