# AJK-Calc multi-purpose scriptable extendable calculator uses rhai engine for evaluation and scripting polynomials using layered closures (function-closures crate) plotting (kinda works) ## Usage ajkcalc is a text-based application with a couple commands "clear", "reload", "help", and "exit" namely. You can also exit by pressing escape. ajkcalc can evaluate basic math expression but its real power comes from its scripting ability. ## Scripting Scripting is implemented using [rhai](https://rhai.rs/) which is also the evaluation engine for the whole calculator. You can define variable and functions as yuo normally would in rye at the main prompt. You can also put *.rhai script files in $HOME/.config/ajkcalc and they would be compiled and added to the main evaluation context on reload. ## Building requires a recent nightly copmiler (for the iter_intersperse feature) ## Warning highly volatile this is still very very early and likely won't have any reliable API for scripting until version 1.0.0 which may still be a while off. Developement is very active as of 9/21/23 and contributions are welcome (if you dare to poke around my crazy code yet)