CMPUT 229 Laboratory Assignment - Expression Parser =================================================== Final Mark: /100 MARKS TOTAL ===== Part 1: _____ /80 parser.s Part 2: _____ /20 Program Style ------------------------------------------------------------------------ Part 1: parser.s Total: _____ /80 _____ /80 Parser Functions * This section checks if the functions are correctly implemented _____ /18 parse * Correctly evaluates the expression. _____ /6 Correctly runs tokenize _____ /12 Correctly runs parse_expression with the correct arguments _____ /18 precedence * Correctly returns the precedence of an operator. _____ /9 Returns correct precedence for each operator * Note that the precedence does not need to match exactly to the precedence in the description, it only needs to follow the correct order _____ /9 Returns correct value for tokens other than operators _____ /22 parse_expression * Correctly parses an expression. _____ /22 parse_factor * Correctly parses a factor. ------------------------------------------------------------------------ Part 2: Program Style Total: _____ /20 Some common deductions will include: (5 marks per deduction) No function descriptions No program header No explanation for register usage No block comments