Calculator parser