e9eec70cad
The print-ast output is useful for debugging front end issues. It is a mix of fully-parenthesized prefix notation (i.e., Lisp S-expressions) with some infix. It is not valid S-expressions for various other reasons. Most obviously, it uses ' (single quote) instead of " (double quote) to delimit strings. This change makes the print-ast output a valid Scheme S-expression. It can be pretty printed by copying it, quoting it (by preceding it with a single quote), and evaluating it at the REPL of a Scheme implementation. Also, the AST node pretty names are changed to predictably match the class name. It doesn't seem helpful to have them be arbitrary. BUG= R=regis@google.com Review URL: https://codereview.chromium.org//23923005 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27282 260f80e4-7a28-3924-810f-c04153c831b5