Skip to content

Project for the Compiler Construction Course at BITS Pilani

Notifications You must be signed in to change notification settings

parthosa/Compiler-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler

This is a toy compiler written in C for course CSF363 at BITS Pilani

Known Issues: Crashes with GCC > 6 (ships with Ubuntu 16.04)

Tested with GCC 6 and below. It works perfectly for them! The compiler follows the language given in language/grammar.txt and language/Language Specifications.pdf.

Running Instructions

$ make #compile the compiler
$ ./build/pcc testcases/test1.txt # executes the code on testfile test1.txt

Testcases

Find the testcases: testcases/

About

Project for the Compiler Construction Course at BITS Pilani

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published