I'm working on an application that needs to integrate scripting
pretty heavily.  I'm evaluating PythonScript for this application.
The application needs to do the following:

1) Support multiple chunks of code, and run them without
   interfering with each other.
        I'm currently using namespaces in Active Scripting for this.
        Is this the best thing to do?

2)  C++ code needs to create an object that's defined in script code,
and call methods on it.
        I'm currently defining a class in the script, but I'm having
problems actually getting an instance of that class.  What's the best
approach?

3)  C++ code needs to pass an associative array to the script code.
        How can I construct a Dictionary in C++ code to pass to Python?

4)  It would be nice if we didn't have to distribute scripts in source code
(mostly so our end users (who are *not* expected to write scripts, and are
not even expected to know that scripting is being done) won't accidentally
break our scripts.
        Is there a way (preferably using the Active Scripting interfaces) to save a
'compiled' form of the scripts and reload them (on a different machine, of
course).  I do not expect the scripts to run faster after doing this.

5)  I've noticed that PythonScript doesn't get along very well with the
Active Scripting debugging interfaces.  Is this expected to change?

Eric Brown

_______________________________________________
ActivePython mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activepython

Reply via email to