Skip to content

Commit

Permalink
vault backup: 2023-11-28 14:42:01
Browse files Browse the repository at this point in the history
Affected files:
content/notes/university/year3/cs3072/cs3072-design.md
  • Loading branch information
pietraferreira committed Nov 28, 2023
1 parent d2d4ad3 commit 2727278
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion content/notes/university/year3/cs3072/cs3072-design.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,4 +202,26 @@ These concepts ensure memory safety without the need for a garbage collector. Ow
- Yacc, Antlr (grammars)
- Treesitter (use parser generator)
- Focus on tool, work on questions (almost good!)
- Apply to BREO before the holidays
- Apply to BREO before the holidays

```
let_declaration: $ => seq(
'let',
optional($.mutable_specifier),
field('pattern', $._pattern),
optional(seq(
':',
field('type', $._type),
)),
optional(seq(
'=',
field('value', $._expression),
)),
optional(seq(
'else',
field('alternative', $.block),
)),
';',
),
```

0 comments on commit 2727278

Please sign in to comment.