Trying to sketch out the implementation of a parser.