Skip to content
Snippets Groups Projects
Commit 07578f9e authored by Wilma Krutrök's avatar Wilma Krutrök
Browse files

Update HOME_EXAM.md

parent 82663289
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment