Parser for cmd language?

Dan Kegel dank at kegel.com
Thu Dec 17 04:46:57 CST 2009


On Thu, Dec 17, 2009 at 2:43 AM, Henri Verbeet <hverbeet at gmail.com> wrote:
> 2009/12/17 Dan Kegel <dank at kegel.com>:
>> 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.
>>
> That needs Java.

But only when generating the parser.  It can output a pure C parser.

If it's not ok to require Java to build (and I could imagine that),
we could check in ANTLR's output.  Then only people
hacking on cmd would need java installed.



More information about the wine-devel mailing list