Skip to content

Latest commit

 

History

History
32 lines (28 loc) · 1.12 KB

README.md

File metadata and controls

32 lines (28 loc) · 1.12 KB

CLIcalc.nim

A command-line calculator in nim. (reimplementation of CLIcalc.jl)

Usage instructions

  1. 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)
  2. When prompted, supply an integer value for x and/or y
  3. When you have finished using the program, use the exit function

Installation instructions on Linux

  1. Download latest release
  2. Run ./CLIcalc in the directory where the latest release is downloaded

Installation instructions on Windows/Mac

  1. Install nim
  2. Run git clone https://github.com/A-childs-encyclopedia/CLIcalc.nim.git
  3. Run cd CLIcalc.nim
  4. Run nimble build -d:release

  5. 5a. On Windows, run `.\CLIcalc`
    5b. On Mac, run `./CLIcalc`

PRs are welcome :)