Skip to content

A tiny C compiler designed in the COL728 course at IIT-D

Notifications You must be signed in to change notification settings

adityanathan/C-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLVM Code Generator for C programs

This is a code generator that emits LLVM code for an input C program. It supports limited features in C. This code generator was built as part of the Compiler Design course at IIT Delhi taught by Prof. Sorav Bansal.

Building the project: Use the cc target in the Makefile

Usage: cc <prog.c>

The binary emits the corresponding LLVM code for the input C program as cc.ll

If you wish to look at a sample output, please see test1.ll and the corresponding C program test1.c

About

A tiny C compiler designed in the COL728 course at IIT-D

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published