Skip to content

Latest commit

 

History

History
10 lines (9 loc) · 372 Bytes

README.md

File metadata and controls

10 lines (9 loc) · 372 Bytes

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