I think you should have a look at TokenRewriteStream as well.
It depends on what you are going to do.

//Fredrik

2009/7/24 sgoto <[email protected]>:
> Hi,
>    I am having a hard time using tree grammars for source code
> formatting/beautifier for language X. Are tree grammars actually meant to
> help me with source code formatting or am I better off with depth first
> visitors ?
>
>    By reading Terrence's post about how translators should use tree grammars
> makes me want to use it, it seems to be addressing the issues I have with
> visitors for translators, but I am not sure if it will help me much with
> formatters.
>    ideas ?
> --
> f u cn rd ths u cn b a gd prgmr !
>
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe:
> http://www.antlr.org/mailman/options/antlr-interest/your-email-address
>
>

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
-~----------~----~----~----~------~----~------~--~---

Reply via email to