Wrote a small grammar for parsing command line arguments.