A command-line calculator