Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arslanbilal/infix-postfix-evaluation
This Project converts infix expressions to postfix and evaluates postfix expressions!
https://github.com/arslanbilal/infix-postfix-evaluation
converts-infix-expressions evaluates-postfix-expressions infix-postfix-evaluation postfix
Last synced: 3 days ago
JSON representation
This Project converts infix expressions to postfix and evaluates postfix expressions!
- Host: GitHub
- URL: https://github.com/arslanbilal/infix-postfix-evaluation
- Owner: arslanbilal
- License: mit
- Created: 2014-10-14T08:49:35.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-10-21T19:14:23.000Z (about 7 years ago)
- Last Synced: 2023-08-19T09:34:08.441Z (about 1 year ago)
- Topics: converts-infix-expressions, evaluates-postfix-expressions, infix-postfix-evaluation, postfix
- Language: Swift
- Homepage:
- Size: 12.7 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Infix-Postfix-Evaluation
========================This Project converts infix expressions to postfix and evaluates postfix expressions!
Operations class include below useful functions:
1) checkTheEvaluation(String) -> Bool
checking the evaluation if there is a syntax error. For instance bracket and number control.
(A+B)+C returns true
(A+B)+C) returns false - bracket mistake
(AB+C)*D returns false - number mistake
2) infixToPostfixEvaluation(String) -> String
evaluate the infix string equation to postfix equation.3) postfixEvaluate(String) ->Double
returns result of postfix equation.