Caleidos C Compiler

Project information

Created a C90 to RISC-V compiler, developed in a team of 2, supporting a comprehensive range of functionalities. It successfully handles global and local array declarations, constant and variable indexing, and robust control flow constructs including various for-loop scenarios and conditional statements. The compiler also supports arithmetic operations, function calls (both internal and external, with support for recursion and mutual recursion), and integer operations. There is also local variable handling with different initializers, managed pointer operations including address referencing and dereferencing, and it can execute complex programs like Fibonacci calculation and square root functions. Additionally, it supports string manipulations, structure operations, and type handling. This project took a month to complete.