Kip is toy programming language I'm making to understand how compilers work.
Run this command to compile the example file:
cargo run example/main.kip -o main.ic
Then open main.ic
to see the output in three address code
- A handmade lexer
- A parser
I took inspiration from a lot of resources so here are all of them:
- "My First Language Frontend with LLVM Tutorial"
- "CS 143"
- "Crafting Interpreters"
- "C Operator Precedence"
- The Rust compiler itself