Skip to content
Snippets Groups Projects
Commit 57a6dda1 authored by David Söderberg's avatar David Söderberg
Browse files

Update HOME_EXAM.md

parent 9713a59f
No related branches found
No related tags found
No related merge requests found
...@@ -23,7 +23,7 @@ Func ...@@ -23,7 +23,7 @@ Func
Params Params
```ebnf ```ebnf
: "()" : "()"
| "(" [ "," ], Param ")" | "(" (Param, ",")+ ")"
; ;
``` ```
Param Param
...@@ -338,8 +338,11 @@ Dereference of a referenced expression ...@@ -338,8 +338,11 @@ Dereference of a referenced expression
### Function call expression ### Function call expression
```math ```math
\frac{<f(e_1,e_2,...,e_n),σ> → <v,σ'>; <e_1,σ> → v; ...; <e_n, σ>→ v}{<f, σ> → v} \frac{<f(e), σ> → v}{<f, σ> → \text{ret } v}
``` ```
``` rust ``` rust
fn func() -> i32 { fn func() -> i32 {
1+3 1+3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment