incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carl Marcum <carl.mar...@codebuilders.net>
Subject Re: [EXT][DISCUSS] Including Groovy as a scripting language
Date Thu, 29 Sep 2011 00:21:52 GMT

On 09/28/2011 01:29 AM, Alexandro Colorado wrote:
> On Mon, Sep 26, 2011 at 8:45 PM, Carl Marcum<cmarcum@apache.org>  wrote:
>
>> Hi all,
>>
>> I wanted to gauge the interest in including Groovy [1] as a scripting
>> language.
>>
>>   For those not familiar, Groovy is a dynamic language for the JVM that
>> includes features like closures, builders, and dynamic typing.
>
>
>>   There is currently a Groovy For OpenOffice extension [2] for this
>> available under LGPL. I have contacted the author regarding additionally
>> licensing the extension as Apache and he would be willing to do that to
>> include it.
>
>
>> Groovy itself is under the Apache 2.0 so I thought it may be a good fit.
>>
>
>
> My biggest reservation toward this is if groovy makes OOo even more heavy.
> Meaning that if it get bundled in, it will create a similar effect to Python
> runtime within OpenOffice.org.

I haven't look into it yet, but I think the big part is the JVM that is 
already included anyway. The groovy jar is about 2MB and the complete 
extension oxt is about 8 Mb I believe.

>
> So there are some spring cleaning that needs to happen to python, meaning
> removing all modules and files that are not needed by OOo and maybe even
> adding some files that will ease the development of Python in the scripting
> framework ie. TCL and others.
>
> On a similar venue, I will recommend that adding Groovy would also need
> bootstrap to minimize the overall size impact of the bundle.
>
> At the same time many projects to improve the development of extensions have
> been idle including a Java-GUI development environment and UNO-base IDE for
> Python and other scripting languages (like Beanshell, and others.
>

Hopefully not idle for much longer :)

> Of course the smartest and quickest thing to do is to make the Basic IDE/GUI
> designer compliant with the rest of the languages (Java, Python, Beanshell,
> ... Groovy).
>

>
>>
>> I am willing to work on this if there is interest.
>>
>> Best regards,
>> Carl
>>
>> [1] http://groovy.codehaus.org/
>> [2] http://wiki.services.openoffice.org/wiki/GroovyForOpenOffice
>>
>
>
>

Best regards,
Carl

Mime
View raw message