I tried to make this Interpreter, in CodePulse's way, but I have failed to.
So anytime you use this when evaluating math calculations, segmentation faults, memory leaks, etc, could happen. Use this at your own risk.
An interpreter, written in C, that can evaluate simple math calculations.
I'd rather write a new interpreter than update this, because everything is kind of messed up.
This has been archived, because the code is badly made, and there are risks of segmentation faults, memory leaks, etc.
Credits to CodePulse for the Simple Math interpreter written in Python and credits to CoolDeveloper101 for his Simple Math Interpreter written in C#.
Here is CodePulse's simple math interpreter. Here is CoolDeveloper101's simple math interpreter and this.
If you are using GCC (GNU Compiler Collection), there is a gcc_compile.txt, so you can compile the interpreter into exe file.