Abdur-rahmaanJ / greenberry

A one-line statement language with grammar and infinite look-ahead
https://abdur-rahmaanj.github.io/greenberry/
Apache License 2.0
50 stars 39 forks source link

utils.py file for postfix evaluation #42

Closed KushalVijay closed 5 years ago

KushalVijay commented 5 years ago

File name is utils.py .It consists of two function , 1)Infix to postfix convertor in which mathematical expression is taken as input. 2)Postfix Evaluation to give result. Please test it and let me know if any issues. P.S.Do read the comments in the code .