On Feb 8, 7:17 pm, balachandarlinks <[email protected]> wrote: > Hi guys, > As a part of my project i need to parse a "c source code" into > tokens.I need to process the tokens to identify some predefined > patterns.I searched in google and am here now.I am puzzled how to work > with ply.Please help me guys ..
You may find the pycparser project useful (http://code.google.com/p/ pycparser/). It's a complete parser for ANSI C written in Python with PLY. Part of it is a lexer that can be used separately to tokenize C source. Eli -- You received this message because you are subscribed to the Google Groups "ply-hack" 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/ply-hack?hl=en.
