This is a simple calculator implemented with the use of Perl Regexp::Grammar.
The Calculator reads the specified input file and executes the commands within.
See input.txt for the expected format.
To run type
$> perl calc.pl input_file_name.txt
To run tests type
$> perl tests.pl
- SUM
- MIN
- MAX
- AVERAGE