evpf.git
4 months agoRefactored the main() function
Harishankar [Sun, 31 May 2020 05:50:12 +0000 (11:20 +0530)]
Refactored the main() function
Refactored to separate the command line mode and interactive mode
to separate function calls and freed main to just dispatch the
appropriate mode.

4 months agoChanged coloured output to use colored instead of ansi_term
Harishankar [Sat, 30 May 2020 10:24:01 +0000 (15:54 +0530)]
Changed coloured output to use colored instead of ansi_term
Changed the package from ansi_term to colored to display colour
in terminal

4 months agoAdded command line argument option to run as a single command
Harishankar [Sat, 30 May 2020 09:34:23 +0000 (15:04 +0530)]
Added command line argument option to run as a single command
Added command line option to run the program as a single command
instead of interactive mode

4 months agoAdded coloured output and also removed hard-coded strings
Harishankar [Fri, 29 May 2020 15:23:57 +0000 (20:53 +0530)]
Added coloured output and also removed hard-coded strings
Added colour to output using ansi_term crate and also removed
hardcoded strings from all over the input and replace them
with const

4 months agoFixed the regular expression - also made the command line robust
Harishankar [Fri, 29 May 2020 09:26:25 +0000 (14:56 +0530)]
Fixed the regular expression - also made the command line robust
Made the command line more robust and fixed the regular expression
to make literal dot using \. instead of . (inadvertent error)

4 months agoRemoved panic!s and added error handling to propagate
Harishankar [Fri, 29 May 2020 08:53:36 +0000 (14:23 +0530)]
Removed panic!s and added error handling to propagate
Removed panics from the code and made error handling propagate
through for recovery

4 months agoFirst commit
Harishankar [Thu, 28 May 2020 16:27:56 +0000 (21:57 +0530)]
First commit
first commit of postfix expression evaluator