Framework for internal math expression parsing and calculation.