A simple CLI calculator write in C with flex and bison.
Very simple calculator to implement a project with flex and bison.
help display some options
e euler - 2.718281
pi - 3.141592
log logarithm - log(int|float)
ln natural logarithm - ln(int|float)
sqrt square root - sqrt(int|float)
pow power - pow(int, int)
sin sine - sin(int|float)
cos cosine - cos(int|float)
tan tangent - tan(int|float)
asin arcsine - asin(int|float)
acos arcocosene - acos(int|float)
atan arctangent - atan(int|float)
Very important to say that for this program to work you will need the GNU Readline library and at least the last version of flex and bison.
git clone https://github.com/JohhnMag0/genp.git
cd abaco
make
If you want to get an overview of how this works, you can get an ide in here: https://johhnmag0.github.io/