More work on LALR parser, and add a utility to dump the rust mainline parser's AST as json.