Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sachinganesh/compilerdesign

A mini project for understanding Compiler Design (2015)
https://github.com/sachinganesh/compilerdesign

compiler compiler-design compiler-principles miniproject php

Last synced: about 1 month ago
JSON representation

A mini project for understanding Compiler Design (2015)

Awesome Lists containing this project

README

        

# CompilerDesign
A mini project for understanding the science of building Compiler; (Compiler Design) (VTU - BE - 6th Semester) (2015)
------

I built this project to understand the structure of a compiler. I have completed only first (Lexical Analyzer) out of the 7 phases of Compiler Design. Feel free to clone this project and complete it if you are interested.

## Lexical Analysis

-------
The first phase of compiler works as a text scanner. This phase scans the source code as a stream of characters and converts it into meaningful lexemes. Lexical analyzer represents these lexemes in the form of tokens as:
```

```

Symbol Table & String table will also be genererated along with lexemes.

## Sample Input
Give any C program snippet as input
```
int a = b + c;
```
Output lexemes:
```

```
## Screenshots
![](/images/Page1.png)
![](/images/Page2.png)