Parse a text-based formula and return a numeric score. Less interesting than it sounds.