Hi all,

The compiler documentation mentions a syntax tree in the parsing phase when 
the AST transformation phase mentions a conversion from the syntax tree to 
the compiler's AST representation.
If I do not misunderstand, the command "*go tool compile -W" *will display 
the AST.

I was wondering how far is different the syntax tree from the AST? Where 
could I get documentation or an example of this syntax tree?
Also, is this syntax tree mandatory? Is it not possible to build the AST 
directly from the lexer+parser?

Thanks in advance

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/a48a5771-e504-4078-8f45-bb803e10ea75%40googlegroups.com.

Reply via email to