top of page

C- Compiler

I am pleased to present my C- Compiler—a significant accomplishment in the realm of computer science!


Built Using Flex and Bison!

Flex and bison are chosen for my compiler due to their efficiency in breaking down "C-" code. Flex excels in tokenization, ensuring a streamlined lexical analysis, while bison accurately parses syntax and generates an Abstract Syntax Tree (AST). This combination provides a reliable and customizable solution for creating compilers, allowing for precise code interpretation, flexibility in handling language nuances, and proven reliability in the development community.


The Steps of the Compiler:

  1. Lexer

  2. Parser

  3. Symbol Table

  4. Semantic Analysis

  5. IR Code Generation

  6. Code Optimization

  7. Code Generation



Supports Variables and Functions!




Supports Logic Decisions!




The Importance of Compiler Optimization!



bottom of page