[webkit-dev] IDL and JavaScript bindings .. ?

Javed Rabbani jrabbani at gmail.com
Thu Aug 7 11:33:17 PDT 2008


Thanks for the response. That clarified number of confusions. Now working
from a non-MAC platform, the Objective-C bindings will not be used. These
bindings are meant for developers working in Mac through the Cocoa
framework. Am I right in making this judgement? Now, if that is the case
then is it mandatory to generate JavaScript bindings to successfully build
webkit? It is becuase number of files will be depending upon these generated
files. Thanks.

- J R Shah

On Thu, Aug 7, 2008 at 11:48 PM, Darin Adler <darin at apple.com> wrote:

> On Aug 7, 2008, at 8:49 AM, Javed Rabbani wrote:
>
> Why is there any need to generate JavaScript bindings via IDL files using
>> Perl scripts. What I want to say is why these binding files are not part of
>> the source?
>>
>
> There are at least two different answers to your question:
>
>    1) Using IDL files instead of hand written bindings allows us to easily
> change details of the binding mechanism without modifying hundreds of files.
> It's been a great boon for folks working on the WebKit project.
>
>    2) The WebKit source repository doesn't include copies of generated
> files. That includes the files generated by the IDL scripts, bison-based
> parsers, flex-based lexers, and many other generated source files. This is
> the usual practice in most software projects. Checking in copies of those
> generated files would help some people, but can cause all sorts of problems.
>
>    -- Darin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.webkit.org/pipermail/webkit-dev/attachments/20080808/f1820c21/attachment.html 


More information about the webkit-dev mailing list