Skip to content

EPITECH - First year project: Creation of a calculator able to display the result of the evaluation of an arithmetic expression composed of integers of infinite size expressed in any base

Notifications You must be signed in to change notification settings

MikaelVallenet/Bistromatic

Repository files navigation

Bistromatic

Warning ⚠️

I want to specify that for this project, we were beginners.
I and David made the program 3 weeks after we start programming,
which explains a rough code and some memory errors.
Despite that we got 100% in the correction and the best project of the class.

Description 🌄

The goal of this project is to write a program that will display the result of an evaluated mathematical expression.
The expression will be composed of infinite integers that can be expressed in any base.
The program must handle the following operators: +-*/%, parentheses, operation priorities and syntax errors,
but not float numbers.

Most of the functions of the lib C were forbidden,
we were allowed to use : write, exit, malloc, free and read

Exemple

Installation 🔎

 git clone https://github.com/Mikatech/Bistromatic.git
 cd Bistromatic
 make

Results 🏆

Label Mark
Syntax Errors 12 / 12
Addition 14 / 14
Substraction 26 / 26
Multiplication 18 / 18
Division 22 / 22
Modulo 22 / 22
Base & operators 12 / 12
Eval Expr 24 / 24

Bonus 📦

As a bonus, we have created a graphical interface using GTK

Bonus


Maintainers 😎

About

EPITECH - First year project: Creation of a calculator able to display the result of the evaluation of an arithmetic expression composed of integers of infinite size expressed in any base

Topics

Resources

Stars

Watchers

Forks