Members: Tedis Agolli , Aditya Karmarkar Git Usernames: TedisAgolli, karmaUdel Email: [email protected], [email protected]
PA4 Tests are located in folder "PA4Tests"
By Friday, November 4:
15 points: Extension of your parser spec to correctly scan all tokens and parse and construct AST for the PA4 grammar demonstrated with test cases --Done
By Friday, November 11: --Done
15 points: Creates a symbol table that accurately represents the static scoping of the MeggyJava programs of PA4
10 points: Check for undefined, doubly defined, and incorrectly typed symbols
10 points: Performs correct type checking for the PA4 grammar rules according to the MJ.jar reference compiler type errors
10 points: Continues to perform code generation to AVR assembly code for the PA3 AST nodes using a visitor --DONE
10 points: Performs correct code generation to AVR assembly code for the added features in PA4 grammar: --DONE
Meggy.toneStart
less than operator
user-defined methods
method calls
10 points: test cases for PA4 features --DONE (PA4 Tests are located in folder "PA4Tests")
5 points: README file explaining the file structure (your test files) and other comments you want your TA to know (e.g. features not implemented)--DONE
5 points: Follows instructions for submission correctly--DONE
10 points: team and individual reports on sakai--DONE
Duplicate Method and Class declaration:
We handle duplicate declarations by adding "**" at the end of the duplicate class or method name. This allows us to continue performing type checking.
AVR Code:
Our AVR code is generated correctly, but the MJSIM.jar gives an "import" error. The same error is given for files generated by MJ_PA3.jar and MJ_PA5.jar shared by you.