Skip to content
/ C99 Public

C compiler written for ECE466:Compiler that targets the x86 architecture

Notifications You must be signed in to change notification settings

dantsar/C99

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Cooper Union C Compiler (CUCC)

This is my work for ECE466: Compilers, a graduate level class where I had to build a C compiler using Flex and Bison. The target language was x86, and lexical analysis, semantic analysis, IR generation, and assembly generation was handled. The C ISO was consulted extensively.

Dependencies

  • CMake (v. 3.14)
  • GCC
  • Make
  • Flex
  • Bison

Usage

To manually build and compile the compiler from source, run:

mkdir -p build
cd build
cmake ..
make

or if you want to save a few keystrokes, use the Makefile provided by running:

make

About

C compiler written for ECE466:Compiler that targets the x86 architecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published