Separate calculator app from calculator language grammar