Re: Scripting in Gnome

On Mon, Feb 02, 2004 at 10:15:12PM +0000, jamie wrote:
> On Mon, 2004-02-02 at 21:41, Sean Middleditch wrote:
> > 
> > One of these languages could also be some kind of VB knock off, if you
> > are offering to develop one for us.
> Possibly. I think VBA is gonna be essential but I still prefer a generic
> script engine using plug-in xml definitions. I could even write a VBA to
> Python translator (or rather the script engine I will write will
> generates python code from whatever plug-in language you use and then
> pass it to the python interpreter for execution) 

Amen brother !
If you write it we will use it.  In Gnumeric we could dearly use
something to interpret vba.  I've had two possibilities in mind for
a while now.

1) Pray that is 'close enough' to be automapped from vba
2) extract the p-code (pre parsed tokens) in the macros in office
   files and translate that to python.  I'm leaning towards this
   just now.  There is code to extract vba source code from ms
   office files, and I've got some docs on the p-code but the
   extraction is still largely a research project.

The anti-virus folk are interested in p-code extraction too.
Although I doubt they want to execute it :-)

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