Nawrin14 / Compiler

A compiler that compiles a C program

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler

This repository contains the code of a compiler I have designed for the academic course Formal Language and Compilers. The compiler takes a C program as input and compiles it.

Functionalities

  1. Removes comments and new lines
  2. Removes extra spaces
  3. Seperates lexims and tokenizes
  4. Generates symbol table
  5. Assigns line numbers
  6. Detects errors

About

A compiler that compiles a C program


Languages

Language:C 100.0%