Fixes for recent API and language changes.

I've gotten it to compile, but, unfortunately, the tests don't pass. I attempted to use this branch with a program of mine, but it failed with "error: attempted access of field `arg_repo` on type `&Args`, but no field with that name was found". I'm guessing that the API change to the regex library has altered the semantics in such a way that the parser has broken.