C-Compiler

Consists of three stages :

  • lexer
  • parser
  • compiler

it takes C code as an input and produces an assembly code in the x86 instruction set .

Currently implemented features :

  • Arithmetic and logical operation
  • Variables
  • Switch
  • For loop
  • While loop
  • Break
  • Function definition
  • Function call
  • using Constant string
  • If statements
Abdallah Bashir
Abdallah Bashir
Applied Scientist II