On Thu, Dec 17, 2009 at 12:06 PM, Eric Pouech <eric.pou...@orange.fr> wrote: > we don't need to support several grammar compiler in wine > yacc/bison is way sufficient > but I agree that using a real grammar to rewrite cmd would be a real gain. > current code is unmaintainable as it is
For what it's worth, antlr generates recursive descent parsers, so the resulting code is a lot easier to read than the code generated by yacc. antlr's c runtime seems huge, though, so I rather doubt we would use it. - Dan