SYSTEMS PROGRAMMING

C Language Compiler

Custom Compiler Implementation

COMPILER.C

Mission Briefing

A fully functional compiler for a subset of the C programming language. Implements all stages of compilation from lexical analysis to code generation.

Tech Stack

C Lex Yacc LLVM

Key Features

  • Lexical Analysis: Tokenizes source code efficiently.
  • Parsing: Constructs abstract syntax trees (AST) for validation.
  • Optimization: Implements basic code optimization techniques.