# HG changeset patch # User Christian Urban # Date 1759064817 -3600 # Node ID 9a85924835c07cf62e0022a907528fe1678f3abd # Parent c3dd3a98f919d0b6bcc323baf75c8a4970c2b0ed updated diff -r c3dd3a98f919 -r 9a85924835c0 cws/cw03.pdf Binary file cws/cw03.pdf has changed diff -r c3dd3a98f919 -r 9a85924835c0 cws/cw03.tex --- a/cws/cw03.tex Sun Sep 28 14:03:59 2025 +0100 +++ b/cws/cw03.tex Sun Sep 28 14:06:57 2025 +0100 @@ -25,8 +25,8 @@ strange error messages. The main function that will be tested is called \texttt{eval} and \texttt{Stmts.parse\_all}. The latter expects a list of tokens as input and generates an AST. The former expects an AST and -``runs'' the program. The marks will be distributed such that 6 marks -are given for the correct grammar (and parsers); 4 marks for the correct +``runs'' the program. The marks will be distributed such that 9 marks +are given for the correct grammar (and parsers); 6 marks for the correct \texttt{eval} function. You should use the lexer from CW2 for the parser - you potentially need to make modifications to the regular expressions for CW3.