Skip to content

Course Project in Compiler Design - A compiler for a subset of the C language

Notifications You must be signed in to change notification settings

kaushiksk/mini-c-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mini-c-compiler

This is a mini compiler for a subset of the C language built as part of our Compiler Design Lab Course (CO351).

It has been built as a series of four incremental phases, each contributing a key part of the compiler.

Phase Objective
Project-1 Building a lexical analyser using Lex for a subset of C language to tokenise a given program
Project-2 Building a parser using Yacc by reading tokens from the lexical analyser from Project-1
Project-3 Building a semantic analyser for the context free grammar implemented in Project-2
Project-4 Building an Intermediate Code Generator

Team Members

  • Karthik M (15CO221)
  • Kaushik S Kalmady (15CO222)