[webkit-dev] Rewriting binding code generator, maybe?

Leandro Pereira leandro at profusion.mobi
Thu Apr 11 10:29:51 PDT 2013


dpranke,

On 04/11/2013 02:12 PM, Dirk Pranke wrote:

>
> I'm not sure how useful a suggestion this is, but ANTLR has a pretty
> strong framework for separating parsing from code generation and seems
> like it would be an ideal fit for this, except that the tool itself is
> written in Java. Perhaps that is a show-stopper? I'm not actually aware
> of any similar parser-generator tools that have similar architectures
> but are in more WebKit/Blink-friendly languages, but maybe they exist?

Pyparsing is a nice little library that requires no code generation 
(grammar is written in pure Python) and is very simple to use.

Their website lives at http://pyparsing.wikispaces.com/.

	Leandro




More information about the webkit-dev mailing list