Skip to content
/ CSF363 Public

Term Project for the Compiler Construction Course at BITS Pilani

Notifications You must be signed in to change notification settings

psdh/CSF363

Repository files navigation

Compiler

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

Known Issues: Crashes with GCC 5.3 (ships with Ubuntu 16.04)

Tested with GCC 4.9 and below. It works perfectly for them! The compiler follows the language given in grammar.txt and LanguageSpecifications.pdf.

Running Instructions

$ make #compile the compiler
$ ./toycompiler <filename> #compiles the code
$ ./run.sh #converts the code.asm to machine code and executes

Use with caution.

About

Term Project for the Compiler Construction Course at BITS Pilani

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages