No release in over 3 years
Low commit activity in last 3 years
A calculator supporting mathematical expressions, variables, functions and rudimentary plotting
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
~> 3.0

Runtime

 Project Readme

A Naive Ruby Calculator

demo

Installation

gem install naive_calculator

Usage

  • $ naive_calculator to run REPL and then enter expressions.
  • > x = expression defines a variable
  • > g(x, y) = expression defines a function
  • plot f(x), x from min_x to max_x plots f(x) between min_x and max_x
  • To use as a library: NaiveCalculator::Calculator#evaluate