Podcast Episode Details

Back to Podcast Episodes
Writing a C Compiler: Build a Real Programming Language from Scratch

Writing a C Compiler: Build a Real Programming Language from Scratch



It  walk the reader through the stages of compilation, beginning with basic steps like lexical analysis and parsing using techniques like recursive descent and precedence climbing. The sources introduce key concepts like Abstract Syntax Trees (ASTs) and intermediate representations such as Three-Address Code (TACKY), explaining how they facilitate the conversion of C code to assembly. Subsequent chapters discuss implementing various C language features like unary and binary operators, including arithmetic, logical, and relational operations, detailing how these are translated into x64 assembly instructions, the use of registers, and the management of the stack with concepts like stack frames. The explanations also cover relevant assembly instructions, flag registers like RFLAGS, conditional operations, and the handling of potential issues like integer overflow.

You can listen and download our episodes for free on more than 10 different platforms:
https://linktr.ee/cyber_security_summary

Get the Book now from Amazon:
https://www.amazon.com/Writing-Compiler-Programming-Language-Scratch/dp/1718500424?&linkCode=ll1&tag=cvthunderx-20&linkId=5274b0b811e5d58a844bf8ac6c5a7436&language=en_US&ref_=as_li_ss_tl


Published on 1 week, 2 days ago






If you like Podbriefly.com, please consider donating to support the ongoing development.

Donate