Simplify error parsing

Remove the explicit loop to set error attributes, and instead keep
things simple.
Register the syntax checker
Add README