Worth the read :
Rust references in order to warmup :
Overview of the compiler
RUST
Level 0 concepts
System Calls & ( Assembly & Machine Code)
Pratt Parsing
Creating a lexer in RUST : BLOG
take a look at this content : https://www.lowlevelcraft.com/paths/build-a-compiler