Initial work on the parser.