[webkit-dev] Changing our IDL syntax to get closer to WebIDL

Darin Adler darin at apple.com
Sun Jun 21 22:46:46 PDT 2009


The IDL file format we use to generate our bindings has some things in  
common with WebIDL and many differences. There are extended attributes  
we use that exist in WebIDL but with a different name.

As a first step in making our IDL syntax be as close to the WebIDL  
standard as possible, I’d like to move our extended attributes so they  
go in the appropriate place in the syntax. Ours currently come later  
in an attribute definition; WebIDL puts them before the attribute  
definition.

I have a patch to do this in this bug <https://bugs.webkit.org/show_bug.cgi?id=26398 
 >. Currently the patch contains the code changes to make the binding  
machinery parse the new syntax, and a couple hand-converted files.

I plan to write a script to convert all the IDL files to the new  
syntax. Should be easy.

Not sure about what impact this will have for V8.

     -- Darin



More information about the webkit-dev mailing list