Just a C-like compiler for fun (Rewritten in Rust in one night :P)
To build this project, first install Cargo, the Rust package manager, then clone this repo and cargo run in the project directory.
Please read the user manual before trying to write code, while the rhododendron language is based in c, it has seveal key differences.
- Variables
- Conditionals
- Pointers / Arrays
- Functions *
- Structs
- AST and code gen optimizations
- Linker
4: Unusable
3: Major inconvinience
2: Minor inconvinience
1: "Feature"
Symptom: Results in segmentation fault.
Suspected Cause: Returning from a stack frame to another stack frame that isn't its parent causes a misalignment in the stack.
Potential Fix: Make if statements return in a different way or make them a different kind of frame
Level 3
This is a huge limitation that will be addressed ASAP.