A calculator operating on textual input