abouttreesummaryrefslogcommitdiff
path: root/todo.txt
blob: 3b5d313573faf1b0c1fc560e99577545d434eaa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
define grammar:
- declarations
  - var decl
    - ptr/array
  - fn decl
  - struct/enum/union
- statements
  - if/while/for/switch
  - expr
  - assignment
  - return
- expressions
  - fn call
  - unary/binary/(ternary) operator
  - variable "call"
  - literal
  - parenthesis
  - array access
  - .
  - cast

- complete grammar
- semantic checks when visiting
- type modifier
- operator precedence
- ...