Shiimoe / crepl

An intuitive calculator REPL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CREPL

Calculator REPL

A command line calculator read-eval-print-loop, with intuitive mathematical notation as syntax.

Install

You'll need git (if cloning), a C compiler (e.g. gcc) and make (build-essential / base-devel).

Clone

Clone / Download this repositroy however you like, e.g.

git clone "https://github.com/Demonstrandum/crepl.git"

Then change directory into it:

cd crepl

Build & Install

make  # Builds and compiles the project.
sudo make install  # Installs the program system wide.

TODO

  • Throw errors on overflows until we implement bignums.
  • Imaginary numbers (using complex.h).
  • User defined functions.
  • Extend factorial to positive reals and complex values using Gamma function.
  • Garbage collection.
  • Numerical equation solver (polynomial, simultaneous, &c.).
  • Add more functionality, notably for calculus.
  • Symbol manipulation (?).
  • Extend numbers to include “Big Numbers” (“Big Integers” and “Big Decimals”/Rationals), numbers a currently limited to ~80bit floats and pointer-sized (likely 64bit) integeres.

About

An intuitive calculator REPL.

License:GNU General Public License v3.0


Languages

Language:C 92.2%Language:C++ 5.1%Language:Makefile 2.6%