title: parsing xpath expressions
body: <p>I want to parse XPath expressions
  I an looking for a lexer/parser implementation in C++ or Python</p>
  
  <p>Here is all the information about XPath parsers I manage to gather :</p>
  
  <ul>
  <li>ANTLR grammar for XPath 1 &amp; 2 ( from <a href="https://stackoverflow.com/questions/514879/parse-xpath-expressions">Parse XPath Expressions</a> )</li>
  <li>the Python parser &amp; lexer from <a href="http://pypi.python.org/pypi/PDIS-XPath/" rel="nofollow noreferrer">PDIS</a></li>
  <li>several python implementations from <a href="http://www.python.org/community/sigs/retired/parser-sig/towards-standard/" rel="nofollow noreferrer">Towards a Standard Parser Generator</a></li>
  </ul>
  
  <p>Does anyone knows other implementations ? in C++ ?</p>
  
  <p>PS : I don't want to evaluate XPath expressions but to tokenise them</p>