A gem which provides rake task to perform arithmetic operations using reverse polish notation. It supports command line input / output at the moment but provides flexibility to add other sources in future. It is developed under the guidelines provided here
Clone this repo and run
bin/setup
This will install the bundler and then it will install all the dependencies.
rake calculate_by_rpn:cli
bundle exec rspec
- We can add another sources for input / output under
lib/reverse_polish_notation/providers
- We can provide support of other arithmetic operators like %, ^ etc.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the ReversePolishNotation project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.