Change to check and calc expression's value when parsing.