从头开发一个C语言编译器

目录

正文-TODO未完待续

module 1

  1. We create a Lexer that is responsible for taking a C source file we want to compile and converting it into a bunch of tokens for us to use during the parsing process.
  2. We create a parser that takes in token input and creates many nodes that form an abstract syntax tree which neatly explains the code flow of a source file so that later it can be passed to a code generator which will generate output assembly language.

image-20240408215921810