a calculator with a string parser.