You can cheat by using the MathRegion XML export API in VBscript. This will, with a little care show you all the defined variables, the maths expressions, and results. You have to decode the XML though.
At the moment I'm doing it for a file compare function but it's not finished yet.
Philip