As a part of the course project Compiler Design, our task of designing a compiler for a programming language is broken down into different phases. The first phase is a simple lexical analyzer.
In this project we plan to implement a lexical analyzer for C language. This lexical analyzer will be able to analyse the following features of C language-
- Data types- int, char, float
- Keywords
- If...else
- While and Nested While loop
- Functions with one parameter
- Identifiers
- Balanced expressions
For the full project report visit :