This document provides implementation details for writing a compiler in C using Lex and Yacc. It is meant to accompany a textbook on compiler design that describes compiler implementation using Java. This document contains equivalent information for building a compiler in C, with chapters that correspond to the textbook chapters. It describes how to implement lexical analysis with Lex, parsing with Yacc, semantic analysis, code generation, and more. The document is not intended to be self-contained and should be used along with the textbook.