title: How can I transform a mathematical expression into an easier-to-parse way, in Julia?
body: <p>Is there a predefined class or package in Julia that can handle this sort of transformation: x * (y - z) =&gt; [y, z, &quot;-&quot;; x, y, &quot;*&quot;] (this assumes that in the interest of saving memory space, the output of the first operation is stored in variable y before the second operation is applied).</p>
  <p>Basically, I need to break down a mathematical expression into a series of steps which I can then apply to the variables involved, algorithmically.
  Thanks!</p>