Victor-Briganti / abakus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Abaco Calculator

Another(yes I have a problem with calculators) simple CLI calculator write in C++.

Usage


You know its calculator just type some expression on it.

Operations supported:

Basic arithmetic

+ (add)
- (subtraction)
/ (division)
* (multiplication)

Variables

= (atribuition)

Comparison

== (equal)
!= (not equal)
>= (greater than or equal to)
<= (less than or equal to)
< (less than)
> (greater than)


Installation

Very important to say that for this program to work you will need the GNU Readline library.

git clone https://github.com/JohhnMag0/genp.git
# if clang
clang++ abakus.cpp -lreadline
# if g++
g++ abakus.cpp -lreadline

Documentation

If you want to get an overview of how this works, you can get an idea in here: https://johhnmag0.github.io/. Yes I got a good part of the idea of the structure of the code by reading about LLVM in the following link https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index.html

About

License:MIT License


Languages

Language:C++ 100.0%