A macro editor

2005-10-20 Thread jau
Hello mates.

I'm part of a big project's developer team. We are writting an 
application in Java and we are planning to add scripting functionality 
to it. What we exactly are planning is to give a kind of tool that would 
allow our users to write their own scripts to perform their special 
operations. Something like VBA does in several comercial applications. 
But, as we are GPL we have to use a close to GPL licensed-like language.

My teammates and I were talking about to use one of Python, Ruby or 
Groovy. But, we haven't decided which to use.

What seems to be easier is to use Python, you know.. because of the 
Jython thing. But, it is probably a mistake to take Jython without a 
extensive analysis of the all possibilities.

 From my point of view, the best choice will be those that allow the 
average user getting results as fast as possible rather than the power 
of the language itself. At the end, what we will write is a gateway to 
access to our application's Java API through the scripts written by our 
users.

In this sense, I'd like to ask if someone knows if any of these 
languages have a Java implementation that supports code auto-complete 
and class navigation or any kind of functionality that would ease and 
speed up the user's learning curve and productivity.

In other words, is it possible to have a small and lightly intelligent 
workbench window (a mini-Eclipse for example) for our future "macro 
editor" within our application?

I promise that if get some info I'll publish it here as soon I have it.

Thanks for your time!
Jaume
-- 
http://mail.python.org/mailman/listinfo/python-list


DeprecationWarning: Non-ASCII character '\xf3'

2005-08-23 Thread jau
Hi co-listers!

I have been off Python for 2 years and now, that i'm used to Eclipse and 
Java, I decided to start a project with Python to refresh skills this 
time using Eclipse and TrueStudio. But now, two things can be occured 
since the last time i used it.

the first one, something concerning to the encoding has changed and i 
haven't noticed it.

the other one, when using Python from Eclipse i have to add any special 
config lines at the begining of my Python files.

if i have this hello world python "program" (i have to call it by 
someway, hahaha)

print "hello world"

i get this output

hello world
sys:1: DeprecationWarning: Non-ASCII character '\xf3' in file 
C:\Workspace\J&J\src\es\jau\main.py on line 2, but no encoding declared; 
see http://www.python.org/peps/pep-0263.html for details

the article mentioned above didn't explain so much for me.

i doesn't look to be an error, but curiosity is bitting me... what's 
really happening here? Do I need to do any special thing to avoid this?

Thanks everyone!

Salut i república
-- 
http://mail.python.org/mailman/listinfo/python-list