Victor-Briganti / Abaco-Calculator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abaco Calculator

A simple CLI calculator write in C with flex and bison.

Usage


Very simple calculator to implement a project with flex and bison.

help

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)



Installation

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

Documentation

If you want to get an overview of how this works, you can get an ide in here: https://johhnmag0.github.io/

About

License:GNU General Public License v3.0


Languages

Language:Yacc 75.7%Language:Lex 21.9%Language:Makefile 2.5%