design notes for MathParser