Simple terminal-driven RPN calculator
$ go get github.com/Shamus03/galc
$ galc
Type numbers. Use the four basic operations. Enter to push a number onto the stack for later use.
%/^ are square root and square respectively.
Square brackets ([]
) rotate the stack.
c/v copy and paste.
Ctrl-c to quit.
I modeled the basic behavior off of a HP-41C because that was my go-to calculator in college.