I'm wondering what is possibly going on with this.
The subroutineCall is used in two different places, but a compileSubroutineCall function isn't in the recommended implementation.
Using it with the test xml files it adds an extra level of recursion. So I just don't increase the level in that function. The alternative would be duplicating the function to compileTerms and compilleDo.
[ The Matrix Musical for Kids ]
[ Signed ]
"
As you recall, a product term is a term with either a single variable or two or more variables ANDed together, whereas, a sum term is a term with either a single variable or two or more variables ORed together. To differentiate between a term that contains any number of variables with a term that contains all of the variables used in the function, we use the words minterm and maxterm.
We are not introducing new ideas here; rather, we are just introducing two new words and notations for defining what we already have learned."
- Digital Logic and Microprocessor Design with Interfacing