RPN calculator for 9front/Plan 9
- C 98.1%
- Makefile 1.9%
| LICENSE | initial | |
| mkfile | stack.^(c h) | |
| README.md | cut & paste | |
| rpn.c | input restructure | |
| screenshot.jpg | initial | |
| stack.c | restructure | |
| stack.h | restructure | |
rpn9
WIP RPN calculator for plan9.
Usage
% rpn
Type a number and hit RET to push it onto the stack. Keybinds:
| Key | Desc. |
|---|---|
| +-*/ | Work as you would expect. |
| ^ | Exponentiates |
| S | sin |
| C | cos |
| T | tan |
| Q | sqrt |
| P | Pushes approx. π to the stack. |
| TAB | Exchanges the top two values on the stack. |
| Backspace | Removes the top value from the stack. |
| ESC | Clears the input buffer. |
The usual mouse chords will cut and paste.
Building
% mk