Menu

Math Interpreter

Now that I finished parseing the syntax,IT'S TIME.
It's time to check for Runtime Errors.
For that I have builded an Mathematicle Interpreter. The Interpreter has to solve corectly any (or nearly any) kind of mathematical problem.

Why do we need the runtime parser?
Simply because first time we checked out how we spelled PRINT 1+1/x.
Now we will check if 1/x is or is not 1/0,which will cause an Error.(Division by zero).

I have declared several procedures and the result will be a DOUBLE,it will look a bit different then Liberty Basic.

April 16,2018
Cretu Gheorghe-Andrei.

Posted by Cretu Gheorghe-Andrei 2018-04-16

Log in to post a comment.