Amneesh Singh af30410aab parser: fix newline checks after statements
since there is no EOL delimiter like ';', we have to check for newline to avoid something like `a = 4 + 4 b = a`
also added tests for expr parsing

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2023-08-14 00:57:17 +05:30
2023-07-29 20:36:06 +05:30
2023-04-06 17:14:53 +05:30
2023-04-06 17:14:53 +05:30
2023-04-06 17:05:58 +05:30
2023-04-06 17:05:58 +05:30
2023-07-29 20:28:14 +05:30
2023-07-29 20:28:14 +05:30
2023-04-06 17:21:08 +05:30
2023-07-29 20:28:14 +05:30
2023-07-29 20:28:14 +05:30

tricc (pronounced "trick-c" or "trixie" like pixie) is a WIP toy compiler I am writing to understand compilers better, that's it. Will probably use LLVM as the backend.

Notes:

  • Does not work
  • Is WIP
Description
toy compiler [WIP]
Readme 150 KiB
Languages
Rust 96.2%
Nix 3.8%