Merge pull request #50 from Winston-Chan/nathan

Initial commit of parser.
Error message reporting.