On Fri, 22 Feb 2013 18:29:42 +0200, Timothy Madden wrote: [...] > For that I would like to write a php parser, in order to detect the > proper breakpoints line for statements spanning multiple lines. > > Is there an (open-source) way to do to this in python code ? Try pyparsing: http://pyparsing.wikispaces.com/ -- Steven