Hi Shashidhar,
I barely remember the Evaluation bridge, it was probably there to redefine the `backtick` expressions. I believe it may have been considered redundant and replaced with __EXEC__ mapped to a function in the global environment table. Notice __EXEC__ without an &. Here's an example of how it works:
I think this is a rough approximation of what you're looking for.
public MyEvalBridge implements Function, Loadable {
public void scriptLoaded(ScriptInstance si) {
/* install this bridge */
si.getScriptEnvironment().getEnvironment().put("__EXEC__", this);
}
public Scalar evaluate(String name, ScriptInstance script, Stack args) {
/* this gets executed whenever a `backtick expression` is evaluated */
return SleepUtils.getEmptyScalar();
}
}