PA1.pdf
web.stanford.edu · 3,169 words · saved by 1 readers
N/A
CS 143 Compilers Programming Assignment I Due: Thursday, April 16, 2026 at 11:59pm 1 Overview of the Programming Project Programming assignments I–IV will direct you to design and build a compiler for Cool. Each assignment will cover one component of the compiler: lexical analysis, parsing, semantic analysis, and code generation. Each assignment will ultimately result in a working compiler phase which can interface with other phases. You will be implementing the projects in C++. For this assignment, you are to write a lexical…
related reading
- Scanning · Crafting Interpreterscraftinginterpreters.com
- Parsing Expressions · Crafting Interpreterscraftinginterpreters.com
- lecture01web.stanford.edu
- Lexical Analysis With Flex, for Flex 2.6.2: Introductionwestes.github.io
- Writing a C compiler in 500 lines of Pythonvgel.me
- 2. Kaleidoscope: Implementing a Parser and AST — LLVM 23.0.0git documentationllvm.org
- web.stanford.edu/class/cs143/lectures/lecture04.pdfweb.stanford.edu
- Lab 1: C Programming and Makefiles - HackMDcs.brown.edu
- Lexical analysis - Wikipediaen.wikipedia.org
- Lexical Analysis With Flex, for Flex 2.6.2: Simple Exampleswestes.github.io
- Lexical Analysis With Flex, for Flex 2.6.2: Generated Scannerwestes.github.io
- web.stanford.edu/class/cs143/lectures/lecture06.pdfweb.stanford.edu