Skip to content

Repository files navigation

Code Compiler (aka "Egg") 🥚

Overview

This project is a homemade code compiler that translates a subset of the C programming language into assembly language. This was a semester-long project that developed over the course of my UW-Madison class: Introduction to Programming Languages and Compilers. We were provided skeleton code and tasked with writing the key methods, utilizing our learning material from the class. This project was developed in partnership with two other classmates. The term "egg" was our class's name for the compiler, a twist on the name "gcc".

NOTE: This repository is only a subset of the program files I could recover; it is merely a code showcase and is not fully functional.

Tools Used

  • Java
  • Remote Linux server
  • Assembly language

What I learned

  • Phases of the compiler and their implementation: Lexical Analysis, Syntax Analysis, Semantic Analysis, Intermediate Code Generation, Code Optimization, Code Generation

About

Code compiler that translates C into assembly language, written in Java

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages