On Sat, 4 Oct 2003 14:09:44 +0200 (CEST) Robert Vazan <[EMAIL PROTECTED]> wrote:

RV> What's the purpose of filter language?

 Err, write filters. What do you mean?

RV> How is it different from Python scripting?

 It is a tiny specialized language, nothing as powerful as Python, and it
is built in into M and always available.

RV> Would it be possible to transform it into API for Python?

 It is rather the contrary: it is possible to call Python functions from
the filter language (see "python()" function).

 Filter language is very primitive, it is good for writing filters but not
much more. And it's not OO, unlike Python. The Python API should be OO as
well, of course, but it is not necessary for the filter language.

 Anyhow, if Python support worked you would indeed be able to write all
your filters in it by doing something like this in the filter editor:

        if ( python(test_python_func) ) { python(action_python_func); }

Whether you want to do it or not is another question.

 Regards,
VZ



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-Developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to