WIP towards basic codegen.

 * Improve error message display and show the resource relevant to the error.
 * Some boilerplate for codegen AST visitors.