Open EladB1 opened 10 months ago
Doing research of IR phase of compiler. Thinking of going with LLVM for IR so that it can also be used to generate machine code.
Learning LLVM IR in order to be able to generate it from an AST. For now, will keep notes and code in the feat/llvm-gen
branch.
Need to pick compile target first... putting this on hold until that's done.
No longer targeting LLVM; will create custom IR based on either SSA or TAC.
Need to go from AST to intermediate representation (IR).
IR will make it easier to work on middle/backend stages of compiler like optimization and code generation.