Renamed match to expect. Makes more sense.
Cleaned up parseStatement a bit.
Want to avoid having ifs all over the place if possible.
Parsing errors now print out.
Expect now advances the token pointer on failure.
Prevents infinite recursion in some cases when an error token appears.
Test cases added... more needed.
Added semantic analysis phase.
Semantic analyser checks that any identifiers used have been declared
and are of the correct type.
Need to write tests for analyser.
Definitely needs some cleaning up.
Fixed some bugs in the parser/lexer.
Fixed a sadly obvious bug in the parser.
Added tests.