hi Is there any way to represent complement of a grammar in wiritn a rule. for example i write a grammar in which i wrote a rule to catch all the function declerations, i shld also write a rule tht catches all lines in the prog other thn function declartions, is itht possible
On Fri, Oct 1, 2010 at 11:05 PM, vijay e <[email protected]> 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 -- 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.
