Read-eval-print : the script engine does not need print so make it lazy

This can have a dramatic effect on computing time in cases with big
intermediate results but simple final one.
Merge pull request #2542 from rjolly/scripting12

Read-eval-print : the script engine does not need print so make it lazy