> Is there a standard module available that lets me parse a syntax like "C" > with numbers, operators, braces, variables and function calls? There is a C compiler implemented with PLY somewhere.
> I'd like to use this to parse an own kind of configuration language > and preferred would be just standard modules. Is there something > available that is maybe based on shlex? I usually use Python as my configuration syntax, see http://pythonwise.blogspot.com/2006/05/using-python-syntax-in-configuration.html (shameless plug). Beware that this has security implications, I use it only in internal applications. HTH, -- Miki <miki.teb...@gmail.com> http://pythonwise.blogspot.com -- http://mail.python.org/mailman/listinfo/python-list