Start implementing specs for parser for parsing the spec examples. Minor
fixes.