CMSC212 - Project #3
Handout
In HTML
In PDF
Clarifications
simplifyNode should return 0 when
any
change to the tree is
subtraction should be left-right (not right-left as could be infered from the project description).
The semantics of passing a NULL sub-tree to the create operations is un-defined. This means you should *not* write a test case to check that there is an expected behavior for creating an operatorNode when it is passed a NULL child.Your implementation of ast.c is free to either allow or reject this case as you wish.
Header, Source, Object, and Sample Data Files
Run 'cvs co project3' to get files.