A calculator library written in crystal (Not the most efficient algorithm)
-
Add the dependency to your
shard.yml
:dependencies: calculator: github: data-niklas/calculator
-
Run
shards install
require "calculator"
puts Calculator.calculate("3pi(-2-1)")
TODO: Write usage instructions here
TODO: Write development instructions here
- Fork it (https://github.com/data-niklas/calculator/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Niklas Loeser - creator and maintainer