I'm strongly considering rewriting this project in C++. Why? A couple of reasons.
- I'm currently employed at a firm that uses C++ as their primary language.
- There's more opportunity to explore different backends. Most notably, LLVM.
So, I may archive this project soon.
This is my attempt at writing a compiler for a simple C-like imperative language that targets my custom runtime.
This is more or less based on the compilers course at Cornell University.
Side node:
- Compilers at Cornell is regarded as one of the most difficult CS courses there, which I'm starting to realize why :)
- Lexical Analysis
- Syntactic Analysis
- Type checking
- IR generation
- Converting IR to assembly language in the runtime
- Optimization somewhere?
- Implement support for global variables.