Example basic calculator with PLY