Computation of mathematical expressions using Java dynamic compilation