From 6806ae0da51b67a1aa8e4da04c1c99b690a4f71b Mon Sep 17 00:00:00 2001 From: Minseong Jang Date: Mon, 3 Oct 2022 16:10:27 +0900 Subject: [PATCH] Add assignment 4 description --- src/assignments/assignment04/context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assignments/assignment04/context.rs b/src/assignments/assignment04/context.rs index a34991d..54c9632 100644 --- a/src/assignments/assignment04/context.rs +++ b/src/assignments/assignment04/context.rs @@ -24,12 +24,12 @@ impl Context { self.anonymous_counter } - /// Calculates the given expression. + /// Calculates the given expression. (We assume the absence of overflow.) pub fn calc_expression(&self, expression: &Expression) -> Result { todo!("fill here") } - /// Calculates the given command. + /// Calculates the given command. (We assume the absence of overflow.) /// /// If there is no variable lhs in the command (i.e. `command.variable = None`), its value should be stored at `$0`, `$1`, `$2`, ... respectively. ///