/HYCompiler

Experiment of Compiling Principle course for undergraduates in Nanjing University

Primary LanguageCBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

HYCompiler

It's a course project of Compilation Principle of Nanjing University in 2019 Spring. Plagiarism is not allowed.

Lexis & Syntax

Our language is so-called C--, which is a subset of C. You can refer to Code/lexical.l and Code/syntax.y to have a further knowledge.

Structure

  • lab1: Lexical Analysis and Syntactic Analysis
  • lab2: Semantical Analysis
  • lab3: Generation of Intermediate code
  • lab4: Generation of Machine Code

License

BSD 3-Clause License