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

Tim Mahoney tim.mahoney at me.com
Thu Apr 11 10:28:25 PDT 2013


On Apr 11, 2013, at 10:12 AM, Dirk Pranke <dpranke at chromium.org> 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…

Speaking of other tools, this might be a nice use for SWIG (http://www.swig.org). It could generate Objective-C bindings out of the box, and it looks like someone started binding it to JavaScriptCore (https://github.com/Neha03/gsoc2012-javascript/tree/master/Lib/javascript/jsc).

-Tim



More information about the webkit-dev mailing list