Skip to content

C-imple Compiler. Developed for the Compilers course @cse.uoi.gr

Notifications You must be signed in to change notification settings

PetrosKarampas/C-imple-Compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C-imple Compiler

C-imple is a custom language developed for the purpose of this course. This project was developed in three phases.

Phase One

  • Lexical Analysis
  • Syntax Analysis

Phase Two

  • Intermediate code
  • Equivalent code in C programming language

Phase Three

  • Symbol Table
  • Final code (ready to be assembled using MARS 4.5)

Files

The compiler takes as imput .ci files (C-imple) and produces the following

  • .int Intermediate code files

  • .c Equivalent code in C programming language

  • .asm Final code in assembly

Python Version

v3.8

Run

cimple.py [file].ci

About

C-imple Compiler. Developed for the Compilers course @cse.uoi.gr

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published