mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 04:21:01 +01:00
init
This commit is contained in:
32
README.md
32
README.md
@@ -1,2 +1,30 @@
|
||||
# rpn
|
||||
Reverse Polish Notation Calculator
|
||||
|
||||
Reverse Polish Notation Calculator, version 1.00.
|
||||
Copyleft (L) 2019 - Thomas von Dein.
|
||||
Licensed under the terms of the GPL 3.0.
|
||||
|
||||
Commandline: rpn [-d] [<operator>]
|
||||
|
||||
If <operator> is provided, read numbers from STDIN,
|
||||
otherwise runs interactively.
|
||||
|
||||
Available commands:
|
||||
c clear stack
|
||||
s show the stack
|
||||
d toggle debugging (current setting: 0)
|
||||
r reverse the stack (w/ reg if stack==1)
|
||||
u undo last operation
|
||||
q finish
|
||||
? print help
|
||||
|
||||
Available operators:
|
||||
+ add
|
||||
- substract
|
||||
/ divide
|
||||
* multiply
|
||||
^ expotentiate
|
||||
% percent
|
||||
& bitwise AND
|
||||
| bitwise OR
|
||||
x bitwise XOR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user