For some search-based code (in Python), I need to write a query syntax parser that would parse a simple google like query syntax. For example:
all of these words "with this phrase" OR that OR this site:within.site filetype:ps from:lastweek
As search becomes more an more popular, I expected to be able to easily find a python library for doing this and thus avoid having to re-invent the wheel. Sadly, searches on google doesn't yield much.
What would you recommend as a python parsing library for this simple task?