Expand description
Recursive descent parser building parse-tree as described in C99 grammar
and checking syntax errors.
Does not stop after first error but synchronizes parser back into valid state to emit multiple
errors at once
Modules§
- double_
peek - Custom iterator to peek more then one element to avoid backtracking. Also stores last token in iterator to have a location when throwing EOF-errors.
- fold
- Implements constant folding to collapse operations involving only literals into single literal
- hir
- The syntax elements generated by the parser