From 07578f9eeecbf346fc46156c2479f212d52f50d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wilma=20Krutr=C3=B6k?= <wilkru-7@student.ltu.se> Date: Sun, 25 Oct 2020 12:24:44 +0000 Subject: [PATCH] Update HOME_EXAM.md --- HOME_EXAM.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/HOME_EXAM.md b/HOME_EXAM.md index d0fbb5b..08d6c81 100644 --- a/HOME_EXAM.md +++ b/HOME_EXAM.md @@ -226,6 +226,7 @@ Bool ``` #### Showcase +The following program will be accepted by the parser. ```rust fn test1(x: i32, y: i32) -> i32 { if x < y { @@ -285,7 +286,7 @@ No argument given in functioncall. Expressions not allowed in else statment. #### Coverage -The following bullet points are covered by the parser +The following bullet points are covered by the parser. - Two different function definitions (with arguments and return type or without arguments and return type) - Let and mutable let @@ -299,7 +300,7 @@ The following bullet points are covered by the parser All statements have explicit types. #### Future implementation -In the future could the following things be implemented to allow the parser to accept more programs +In the future could the following things be implemented to allow the parser to accept more programs. - Function definition with arguments but no return type or no arguments but return type - Else if -- GitLab