A Reverse Polish style calculator with a small grammar