[antlr-interest] antlr translation doubts , help needed

Jim Idle jimi at temporal-wave.com
Sat Oct 2 15:10:42 PDT 2010


You really should use a complete grammar and a full tree

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of vijay e
> Sent: Friday, October 01, 2010 8:20 PM
> To: antlr-interest at antlr.org
> Subject: Re: [antlr-interest] antlr translation doubts , help needed
> 
> Hello
> I am doing  a code translator , where i just need to find certain patterns
in my
> C code and change few lines in tht pattern, is there any way where i can
do
> this translation without writin my entire C Grammar, because i am
interested
> in only very few patterns, so without writin the grammar for other
patterns ,
> is thr a way to do the translation
> 
>  i got a mail reply tellin me to use FILTER options as true, but if i set
my filter
> options as true, i will be able to modify my tokens as per my need, but i
dont
> know how i can make these changes reflect in my original file, help needed
> any ideas will be of great use
> 
> On Fri, Oct 1, 2010 at 11:05 PM, vijay e <vijaydone at gmail.com> wrote:
> 
> > Hello
> > I am doing  a code translator , where i just need to find certain
> > patterns in my C code and change few lines in tht pattern, is there
> > any way where i can do this translation without writin my entire C
> > Grammar, because i am interested in only very few patterns, so without
> > writin the grammar for other patterns , is thr a way to do the
> > translation
> >
> > any ideas will be of great use
> >
> > --
> > Vijay.E,
> > Mtech (Pursuing),
> > Department of Computer Science,
> > IIT Madras.
> >
> 
> 
> 
> --
> Vijay.E,
> Mtech (Pursuing),
> Department of Computer Science,
> IIT Madras.
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address



More information about the antlr-interest mailing list