mirror of
https://codeberg.org/scip/rpnc.git
synced 2025-12-17 04:21:01 +01:00
@@ -1,9 +1,9 @@
|
|||||||
|
## Programmable command-line calculator using reverse polish notation
|
||||||
|
|
||||||
[](https://github.com/tlinden/rpnc/actions)
|
[](https://github.com/tlinden/rpnc/actions)
|
||||||
[](https://github.com/tlinden/rpnc/blob/master/LICENSE)
|
[](https://github.com/tlinden/rpnc/blob/master/LICENSE)
|
||||||
[](https://goreportcard.com/report/github.com/tlinden/rpnc)
|
[](https://goreportcard.com/report/github.com/tlinden/rpnc)
|
||||||
|
|
||||||
## Reverse Polish Notation Calculator for the commandline
|
|
||||||
|
|
||||||
This is a small commandline calculator which takes its input in
|
This is a small commandline calculator which takes its input in
|
||||||
[reverse polish notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation)
|
[reverse polish notation](https://en.wikipedia.org/wiki/Reverse_Polish_notation)
|
||||||
form.
|
form.
|
||||||
@@ -69,6 +69,8 @@ DEBUG(012): push to stack: 200.00
|
|||||||
= 200
|
= 200
|
||||||
```
|
```
|
||||||
|
|
||||||
|
For a very good explanation how reverse polish notation and the stack works [watch this video by Prof. Brailsford](https://youtu.be/7ha78yWRDlE?si=9MCp59jAAG8fXavP)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Basically you enter numbers followed by an operator or a
|
Basically you enter numbers followed by an operator or a
|
||||||
|
|||||||
Reference in New Issue
Block a user