Got so much working today. The proof of concept for the recursive expressions calculating their own temp variables and creating assembly code WORKS. Unbelieveable.

I glossed over the extremely simple case: straight variable assignments, no expressions. Lets enumerate the different variable assignments to get things straight…

  • vector = vector
  • scalar = scalar
  • vector[i] = scalar
  • scalar = vector[i]

Actually, the first two cases are the same, we just make certain that both are the same type. So there will be a total of 3 new assembly commands, templated to handle the different data types and vector sizes.