Reviewers: Søren Gjesse, Michail Naganov,

Description:
Initial implementation of printing the AST as a JSON string.  This
implementation is not yet complete (it prints only the node name for
some AST constructs) and does not serialize everything needed to
reconstitute the AST.

It is motivated by a desire to prototype source-to-source
transformations in JavaScript itself (or anything else that can grok
JSON), but it should have other uses too.

Feedback is welcome.

Please review this at http://codereview.chromium.org/131101

SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/

Affected files:
   M     src/ast.h
   M     src/ast.cc
   M     src/codegen.cc
   M     src/flag-definitions.h
   M     src/prettyprinter.h
   M     src/prettyprinter.cc



--~--~---------~--~----~------------~-------~--~----~
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
-~----------~----~----~----~------~----~------~--~---

Reply via email to