Skip to content

Compiler Course Project Implemented with generating instructions for MIPS Architecture.

License

Notifications You must be signed in to change notification settings

mmohajer9/cdollar-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compiler Design Principles Project


Introduction : C$ Programming Language

About The Project

The detail of project can be found in Compiler Design Principles Project

About Our Work

In This Project , Me (Mohammad Mahdi Mohajer) and my Colleague (Mohammad Derakhshan) decided to implement this compiler with generating instructions for MIPS Architecture.

Technologies Required

  1. C/C++
  2. Flex(Fast Lexical Analyzer Generator)
  3. GNU Bison/Yacc(Yet another compiler compiler)

Completed Parts

  1. Essential Parts
    1. Supporting Main Function
    2. Supporting Other Functions
    3. Supporting Control Flow Statements e.g. : (if/else/elseif)
    4. Supporting Loops
    5. Supporting Variables Declaration and Assignment
    6. Supporting Scopes of Functions and Variables
    7. Supporting Error Handling
  2. Optional Parts
    1. For Loop
    2. Global Variables
    3. break and continue in loops
    4. Arrays , like : int a[10]

About

Compiler Course Project Implemented with generating instructions for MIPS Architecture.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published