- Give an as complete as possible EBNF grammar for your language
- Give an as complete as possible EBNF grammar for your language
The EBNF grammar file can be found here: https://gitlab.com/Abrikot/rust-parser/blob/master/ebnf.txt.
The EBNF grammar file can be found here: https://gitlab.henriktjader.com/Abrikot/d7050e/blob/home_exam/ebnf.txt.
```
```
(* Basic definitions *)
(* Basic definitions *)
...
@@ -149,7 +149,7 @@ Every requirement in the README.md seems to be fulfilled. I have done everything
...
@@ -149,7 +149,7 @@ Every requirement in the README.md seems to be fulfilled. I have done everything
- Give an as complete as possible Structural Operational Semantics (SOS) for your language
- Give an as complete as possible Structural Operational Semantics (SOS) for your language
The SOS rules can be found here: https://gitlab.com/Abrikot/rust-parser/blob/master/SOS%20rules.pdf.
The SOS rules can be found here: https://gitlab.henriktjader.com/Abrikot/d7050e/blob/home_exam/SOS%20rules.pdf.
- Explain (in text) what an interpretation of your example should produce, do that by dry running your given example step by step. Relate back to the SOS rules. You may skip repetitions to avoid cluttering.
- Explain (in text) what an interpretation of your example should produce, do that by dry running your given example step by step. Relate back to the SOS rules. You may skip repetitions to avoid cluttering.
...
@@ -181,7 +181,7 @@ I implemented all of this alone.
...
@@ -181,7 +181,7 @@ I implemented all of this alone.
- Give an as complete as possible set of Type Checking Rules for your language (those rules look very much like the SOS rules, but over types not values).
- Give an as complete as possible set of Type Checking Rules for your language (those rules look very much like the SOS rules, but over types not values).
The type checking rules can be found here: https://gitlab.com/Abrikot/rust-parser/blob/master/Type%20checking%20rules.pdf.
The type checking rules can be found here: https://gitlab.henriktjader.com/Abrikot/d7050e/blob/home_exam/Type%20checking%20rules.pdf.