Parser complete!

Not fully tested, but works well enough to move on. Can start playing with
abstract syntax trees.

Fixed up parser error handling, so syntax errors raised in reasonable spot.