Skip to content

shakirul15-311/Lexical-Analyzer-in-Cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Lexical-Analyzer-in-C-

Here you will get program to implement lexical analyzer in C++ Compiler is responsible for converting high level language in machine language. There are several phases involved in this and lexical analysis is the first phase.

Lexical analyzer reads the characters from source code and convert it into tokens.

Different tokens or lexemes are:

Keywords Identifiers Operators Constants Take below example.

c = a + b;

After lexical analysis a symbol table is generated as given below.

Token Type c identifier = operator a identifier

  • operator b identifier ; separator

About

Here you will get program to implement lexical analyzer in C++

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages