crepl

An intuitive calculator REPL.
git clone git://git.knutsen.co/crepl
Log | Files | Refs | README | LICENSE

README.md (1176B)


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), the GNU readline library, 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

# CREPL
> **C**alculator **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`),
the GNU readline library, and `make` (`build-essential` / `base-devel`).

### Clone
Clone / Download this repositroy however you like, e.g.
```sh
git clone "https://github.com/Demonstrandum/crepl.git"
```

Then change directory into it:
```sh
cd crepl
```

### Build & Install
```sh
make  # Builds and compiles the project.
sudo make install  # Installs the program system wide.
```

## TODO
 - [ ] A `ref(.)` function, for referencing/aliasing other variables.
 - [ ] Throw errors on overflows until we implement bignums.
 - [ ] Imaginary numbers (using `complex.h`).
 - [ ] User defined functions.
 - [ ] 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.