calculator

A calculator library written in crystal (Not the most efficient algorithm)

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      calculator:
        github: data-niklas/calculator
  2. Run shards install

Usage

require "calculator"

puts Calculator.calculate("3pi(-2-1)")

TODO Write usage instructions here

Development

TODO Write development instructions here

Contributing

  1. Fork it (https://github.com/data-niklas/calculator/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors