arminaaki/CLI-Calculator
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
We implemented a scanner that reads through the characters, and generates tokens for our expression. Next we implented a parser that detects if the expression is defined in the language Then, we evaluated the result using a stack . The Implemented Grammar X -> AY = Y -> ;X | EPSILON = A -> BC = C -> +A | -A | *A | /A | %A | ^A | EPSILON = B ->(A) | NUM = =============================================
About
Implement tokenizer, scanner, and parser for a simple calculator
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published