Feature/commands (#18)

* re-organized command structure
* added 'dup' command
This commit is contained in:
T.v.Dein
2023-11-12 20:29:10 +01:00
committed by GitHub
parent 0782b0920b
commit 2f56761bf1
6 changed files with 310 additions and 82 deletions

View File

@@ -167,6 +167,7 @@ Commands:
shift remove the last element of the stack
reverse reverse the stack elements
swap exchange the last two stack elements
dup duplicate last stack item
history display calculation history
help|? show this message
quit|exit|c-d|c-c exit program