[webkit-dev] Language Bindings

AS szoylent.green at gmail.com
Fri Jan 8 07:49:47 PST 2010

Thanks for the info about the gdom bindings and Appcelerator project. 

I'm leaning towards implementing python bindings the same way gdom did. Appcelerator is interesting, but it looks like how they implement bindings is they have a middle layer that dynamically binds the underlying webkit jscript interface to python / ruby. 

Essentially, what I would like is a stand alone component that I can just host in a NSWindow, like the current webkit, and I'm not sure how difficult this would be if I used Appcelerator, as Appcelerator is more of a total app framework. 

Also, I really would like to be able to access an O3D element from python. O3D looks like they use a set of python script to generate bindings instead of perl. Are there any plans on integrating O3D into webkit itself?

So, any thoughts as to what would be a better way to go, create a set it binding generators like those for ObjectiveC, JScript, gdom, and *cough*, *ugh* COM; or use a middle layer like Appcelerator. Also, would a native python binding be useful to the webkit project?


On Jan 7, 2010, at 8:28 PM, Brent Fulgham wrote:

> Please refer to the Appcelerator project, which does something similar
> to what you describe.
> On Thu, Jan 7, 2010 at 5:15 PM, AS <szoylent.green at gmail.com> wrote:
>> Hello
>> I'm looking into adding bindings for Python to the webkit DOM objects.
>> Ideally, what I would like to create is WebKit based application that can
>> use Python for DHTML manipulation.
>> From the code, I can see how there are perl scripts that parse the idl files
>> and generate binding files, such as those for Javascript and Objective C, I
>> would like to add a set that does the same for Python.
>> From the generated files, I a bit unclear as to where the actual objects are
>> instaniated, i.e. if some jscript created a new say node, is there a table
>> of class names / ctores somewhere?
>> Would it be possible for someone to give a quick overview of what process
>> should be followed to create a new language binding.
>> thanks
>> _______________________________________________
>> webkit-dev mailing list
>> webkit-dev at lists.webkit.org
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

More information about the webkit-dev mailing list