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

2013-04-11 Thread Tim Mahoney
On Apr 11, 2013, at 10:12 AM, 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… Speaking of other tools, this might be a nice use for SWIG

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

2013-04-10 Thread Tim Mahoney
If a rewrite does happen, it would be nice to have some generic functionality abstracted away from the specific language generators. For example, the function to add an #include statement to the generated implementation file is currently replicated for every language. JS and V8 have "AddToImplIn

Re: [webkit-dev] Ruby in WebKit

2013-04-08 Thread Tim Mahoney
On Apr 8, 2013, at 12:00 PM, Filip Pizlo wrote: > ...WebKit is unlikely to unilaterally add support for a different language, > unless there was support in standards bodies and/or consensus from other > browser vendors. That's understandable. I wonder if browser vendors would be interested if

[webkit-dev] Ruby in WebKit

2013-04-08 Thread Tim Mahoney
I modified WebKit to support Ruby. It needs more work, and I'd like some comments. You can check it out here: http://trydecaf.org http://github.com/timahoney/decaf I wrote about some of the major changes here: https://github.com/timahoney/decaf/wiki/Changes-to-WebKit Have I done anything sill