Releases: Mr-Monster-0248/Algorithm-interpretor
Releases · Mr-Monster-0248/Algorithm-interpretor
Variables Update !
This version:
- Supports variables of types
- integer
- float
- string
- Makes compilation on different systems easier: the program now detects the OS you are running so you do not have to change values in the
constants.h
file before compiling - Is still memory leaks free
Fix of release 1.0.0
The interpreter is now able to understand and perform computation for a line presented with only a parentheses element:
>>> (2 + 2)
Which was not computed before (returned 2 + 2
) is now fully computed and returns 4
without memory leaks.
Project Soutenance - 03/31/2017
Project Soutenance - vers. 1.0.0
This version:
- Does not support variables
- Crashes when using a file, lot of memory leaks involved
- Can however reconize syntax errors in the file and precise the line and character involved in the error
- Is memory leaks free, for line by line interpreter
- Can work with integers, floating numbers and strings
- Includes a sample algorithm file to show how to implement your own .alg files
- Works on UNIX systems as well as Windows:
For that purpose, go to the constants.h file and change the#define
(line 5) by#define YOUR_OS
(#define LINUX
for UNIX systems,#define WINDOWS
for Windows OS) - Can compute any operation among + - / * %
- Respects all priority rules of operators for combination of operations
- Respects parentheses priority
- Support booleans comparisons (only for =, <, > comparators, others to come...)
- Includes a few easter eggs... ;)