Thank you Bart, your post at stackoverflow.com was exactly what I was looking for. The explanation is very clear. Thanks!
El 3 de marzo de 2011 19:22, Bart Kiers <[email protected]> escribió: > > Hi, > > 2011/3/3 Juan Manuel Cámara <[email protected]> > >> ... >> >> The Parser works fine, but its return is a flat tree, all tokens are >> childs >> of the root. >> >> Is this the normal use? >> Can someone guess what I'm doing wrong, or tell me the way to get the >> complete tree? ... >> > > _You_ need to tell how the tree looks like. > > See: http://www.antlr.org/wiki/display/ANTLR3/Tree+construction > <http://www.antlr.org/wiki/display/ANTLR3/Tree+construction>And/or: > http://stackoverflow.com/questions/4931346/how-to-output-the-ast-built-using-antlr > > > <http://stackoverflow.com/questions/4931346/how-to-output-the-ast-built-using-antlr> > Regards, > > Bart. > > List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address -- You received this message because you are subscribed to the Google Groups "il-antlr-interest" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/il-antlr-interest?hl=en.
