Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/sachinganesh/compilerdesign
- Owner: SachinGanesh
- Created: 2018-02-07T18:08:06.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T18:44:36.000Z (about 7 years ago)
- Last Synced: 2024-11-12T23:35:37.455Z (3 months ago)
- Topics: compiler, compiler-design, compiler-principles, miniproject, php
- Language: CSS
- Size: 962 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)