A calculator for logic expression .