First of all cool product. I like the concept alot.
 
We are looking at creating a rules engine based
on Jython embedded in java.  I played with the PythonInterpreter example
code and got it to work but it may be too slow if you have to do
this each time.  What I would like to know how to do is the following:
 
 
class {
    init(){
        interpreter = new PythonInterpreter();
        interpreter.setJythonParameters(JavaEventProxy proxy);
        interpreter.precompile(JythonCode);
     }
 
    Object event(Event e){
        proxy.setEvent(e);
        if (jythonCode.changed()){
            interpreter.precompile(JythonCode);
        }
        interpreter.execute();
        return interpreter.get("");
    }
 
I don't see how to do the "precompile" stage. I tried using the eval funtion but
it kept throwing an exception. 
 
Do you have or can point me to an example which uses the eval correctly or
does the above it would be greatly appreciated.