calculator
A calculator library written in crystal (Not the most efficient algorithm)
Installation
-
Add the dependency to your
shard.yml
:dependencies: calculator: github: data-niklas/calculator
-
Run
shards install
Usage
require "calculator"
puts Calculator.calculate("3pi(-2-1)")
TODO Write usage instructions here
Development
TODO Write development instructions here
Contributing
- 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
Contributors
- Niklas Loeser - creator and maintainer