Skip to main content

Command line reverse polish notation (RPN) calculator.

Project description

pyclacker

Command line reverse polish notation (RPN) calculator. Stack based and ready to party.

Josh Tompkin

jtompkin-dev@pm.me

https://github.com/jtompkin/pyclacker

Installation

Install with pip

pip3 install pyclacker

Usage

pyclacker [-h] [-v] [program]

Program should be provided as a string with commands separated by a space. Running without providing a program will enter interactive mode. In interactive mode, type a number and press enter to push to the stack. Enter an operator and press enter to perform the operation on the stack. Enter multiple commands separated by a space and press enter to execute them in order. Enter help to view available operators.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyclacker-0.1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

pyclacker-0.1.1-py3-none-any.whl (4.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page