compiler-NCTU-2020

Course Name: Introduction to Compiler Design by Prof. Yi-Ping You
⚠️ Do not plagiarize my work or you will be graded ZERO !

Source Code: P-language
Target Code: RISC-V assembly
Developed by using flex and bison

  • hw1-Lexical Definition (flex)
  • hw2-Syntactic Definitions (bison)
  • hw3-Constructing Abstract Syntax Trees (bison)
  • hw4-Semantic Analyses (bison)
  • hw5-Code Generation (bison)