A command-line calculator in nim. (reimplementation of CLIcalc.jl)
- Enter a function
1a. mul (multiplication)
1b. sub (subtraction)
1c. add (addition)
1d. div (division)
1e. pow (power)
1f. mod (modulo)
1g. hcf (greatest common divisor)
1h. sqr (square root)
1i. tru (truncate)
1j. exit (exits program) - When prompted, supply an integer value for x and/or y
- When you have finished using the program, use the exit function
- Download latest release
- Run
./CLIcalc
in the directory where the latest release is downloaded
- Install nim
- Run
git clone https://github.com/A-childs-encyclopedia/CLIcalc.nim.git
- Run
cd CLIcalc.nim
- Run
nimble build -d:release
-
5a. On Windows, run `.\CLIcalc`
5b. On Mac, run `./CLIcalc`