Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MikaelVallenet/Bistromatic
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
https://github.com/MikaelVallenet/Bistromatic
bistro bistro-matic c calculator epitech epitech-project programming-language
Last synced: about 16 hours ago
JSON representation
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
- Host: GitHub
- URL: https://github.com/MikaelVallenet/Bistromatic
- Owner: MikaelVallenet
- Created: 2021-07-05T13:51:40.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-08T14:41:22.000Z (over 3 years ago)
- Last Synced: 2023-06-01T16:41:15.331Z (over 1 year ago)
- Topics: bistro, bistro-matic, c, calculator, epitech, epitech-project, programming-language
- Language: C
- Homepage:
- Size: 105 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-epitech - Bistromatic - Lyon) - Made by Mikael Vallenet and David Gozlan. (Tek 1 / Projects)
- awesome-epitech - Bistromatic - Lyon) - Made by Mikael Vallenet and David Gozlan. (Tek 1 / Projects)
README
# Bistromatic
## Warning :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 :sunrise_over_mountains:
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](./assets/exemple.png)
## Installation :mag_right:
```
git clone https://github.com/Mikatech/Bistromatic.git
cd Bistromatic
make
```## Results :trophy:
| 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 :package:
As a bonus, we have created a graphical interface using GTK
![Bonus](./assets/bonus.png)
------------
## Maintainers :sunglasses:- [Mikaël Vallenet](https://github.com/Mikatech)
- [David Gozlan](https://github.com/Davphla)