[antlr-interest] source code formatter
sgoto
samuelgoto at gmail.com
Fri Jul 24 12:17:43 PDT 2009
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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090724/52afa74d/attachment.html
More information about the antlr-interest
mailing list