The purpose of this project is to provide a straightforward simulation of a lexer and parser for arithmetic expressions. Initially, the program loads a .txt file containing arithmetic expressions written in standard notation. The program also includes a feature for storing the results of arithmetic expressions in variables, which can be printed to the console using the "print(variable)" function. Operator associativity has been properly implemented, ensuring that unary operators take precedence over binary operators, and parentheses are used to modify the order of operations. The supported arithmetic operations include addition, multiplication, subtraction, division, and unary negation.
-
Notifications
You must be signed in to change notification settings - Fork 0
elenadj7/InterpreterOfArithmeticExpressions
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
The library designed for parsing arithmetic expressions
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published