This project part concerns the compilation of Java method calls, including constructors in class instance expresssions.
This assignment assumes correctly functioning 75% level solutions to Project Part 2, Project Part 3 and Project Part 4.
At the 75% level, your compiler should support class instance creation expressions (new) and method and constructor invocations that do not involve any overloading. You may also assume that the method will not be inherited.
At the 85% level, your compiler should also support overloaded method invocation. At this level method overloading will only occur within a single class (no overloading via inheritance). Be sure to consider the overloading of constructors.
At the 100% level, your compiler should fully support method invocation. This support should include resolution of overloading via inheritance and handling of method overriding.
Be sure to consider what semantic errors need to be detected for this assignment.
Your program will be graded primarily by testing it for correct functionality. However, you may lose points if your program is not properly structured or adequately documented.
All test files used for grading will be publicly available prior to the due date. When ready, the test files will be in ~cs712/public/proj5.
Your programs will be graded using an Alpha machine (e.g. alberti) so be sure to test in that environment.
As with Project Part 4, you should submit a Makefile and all source files, both the files you created and the ones that were provided to you (even if you have not modified them). Your executable program should still be called "javac712".
Your programs should be submitted for grading from alberti.
To turn in this assignment, type:
~cs712/bin/submit proj5 <list of files to submit>
Do not turn in any non-Ascii files (i.e. no object files, no executable files, etc.).
Submissions can be checked by typing:
~cs712/bin/scheck proj5
To receive full credit for the assignment, you must turn in your files prior to 8am on Monday May 11. Late submissions will be accepted at the penalty of 5% per day up to one week late.
Remember: as always you are expected to do your own work on this assignment.
Comments and questions should be directed to pjh@cs.unh.edu