laolarou726 / CoolCompiler

Stanford CS1/CS143 Compilers Course Project for COOL (Classroom Object-Oriented Language) in C++ using LLVM backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CoolCompiler CodeQL

Stanford CS1/CS143 Compilers Course Project - Cool compiler with LLVM backend

Development Status

Component Status
Lexer
Parser
Semantic Analysis
Optimization Skipped
Code Generation WIP

Setup

Tested Environment

  • Ubuntu: 22.04
  • LLVM: 15.0.2
  • Zlib: 1.2.11

Install Zlib

sudo apt-get install zlib1g-dev

Install LLVM

sudo bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"

About

Stanford CS1/CS143 Compilers Course Project for COOL (Classroom Object-Oriented Language) in C++ using LLVM backend


Languages

Language:C++ 75.0%Language:Cool 23.8%Language:CMake 1.2%