A front end compiler to compile basic constructs in Rust to an intermediate code (quadruples) with optimizations