On Thu, Dec 17, 2009 at 1:57 AM, Dan Kegel dank@kegel.com wrote:
There are lots of bugs filed for little (or big) problems in wine's cmd that involve parsing the command language: ... The existing parser in cmd is pretty weak. I wonder if it might not be time to write a new parser -- either using some parser generator tool, or more likely, a plain old recursive descent parser -- that can handle the language better.
I wonder if http://www.antlr.org/ would be overkill for generating the parser. It does support generating C... might be a fun thing to try, anyway. ANTLR does seem to be the most popular parser generator these days.