Re: GNOME 2.8: Scripting

On Tue, 2004-03-30 at 03:03, James Henstridge wrote:
> On 30/03/04 00:17, Andrew Sobala wrote:
> >On Mon, 2004-03-29 at 23:44 +0800, James Henstridge wrote:
> >  
> >
> >>For in-process scripting, GObject with appropriate introspection info 
> >>would probably work pretty well.  For out-of-process use, custom CORBA 
> >>interfaces work pretty well, although I realise that they are a pain to 
> >>implement in C.
> >>    
> >>
> >
> >But maybe not so hard to create, if we get the first case working.
> >
> >gobject_proxy_over_corba ?
> >  
> >
> If the hypothetical GObject introspection framework I mentioned above 
> was powerful enough to build full featured Python/Perl/whatever wrappers 
> at runtime, then this should be quite easy as well.  I'd expect the code 
> to look quite similar to PyORBit (except without all the Python stuff ...).

whilst thats a nice feature to have for apps that dont explicitly
support scripting as such, its not a replacement for a proper scripting
framework thats custom made for an app. Thats why Im currently 
developing a VBA style framework using the python language for the core
VBA classes (I've got python code for about half of them). For
application specific objects Im gonna use an xml type library (I'll
provide a GUI type library builder with a  C code generator for auto
generation of all the stubs for callbacks). Ultimately I will provide a
vba clone language as well (it will contain a plugin interface for other
scripting languages like Perl with the end result the the developer only
needs to build one generic type library interface which can be used by
multiple scripting languages without any extra effort)

The type library will provide an interface for both in-process and
out-process scripting. Whilst I would want the out-process stuff to use
D-BUS, it could also use any available mechanism of course. 


> James.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]