Expression calculator for JNI presentation