calcium

Build Status

calcium implements a basic command line calculator.

Installation

  1. Ensure that crystal is installed on your system.
  2. Clone the repository.
  3. To compile the binary, run make from the project root. It will be compiled to bin/calcium.

Usage

The calcium executable accepts a single equation (as a string) as an argument.

Without precompiling

crystal src/cli.cr '1+1'

With precompiling

bin/calcium '1+1'

Capabilities

Testing

crystal spec tests the crystal library. spec/test.sh all tests the command line interface.

Contributors