Adil Khan 9 months ago
AdiKhanOfficial #FYP Ideas

Android Application for Lexical Analyzer

Its main task is to read the input characters and produce as output a sequence of tokens that the parser uses for syntax analysis. This interaction, summarized schematically.Upon receiving a ?get next token ?command from the parser, the lexical analyzer reads the input characters until it can identi

Project Title

Android Application for Lexical Analyzer

Project Area of Specialization

Computer Science

Project Summary

  • Lexical analysis is the very first phase in the compiler design
  • Lexemes and Tokens are the sequence of characters that are included in the source program according to the matching pattern of a token
  • Lexical analyzer is implemented to scan the entire source code of the program
  • Lexical analyzer helps to identify token into the symbol table
  • A character sequence which is not possible to scan into any valid token is a lexical error
  • Removes one character from the remaining input is useful Error recovery method
  • Lexical Analyser scan the input program while parser perform syntax analysis
  • It eases the process of lexical analysis and the syntax analysis by eliminating unwanted tokens
  •  If the lexical analyzer finds a token invalid, it generates an error

Project Objectives

  • The objective is to convert character streams into words and recognize its token type.
  • Helps to identify token into the symbol table
  • Removes white spaces and comments from the source program
  • Correlates error messages with the source program
  • Helps you to expands the macros if it is found in the source program
  • Read input characters from the source program

Project Implementation Method

Its main task is to read the input characters and produce as output a sequence of tokens that the parser uses for syntax analysis. This interaction, summarized schematically.Upon receiving a “get next token “command from the parser, the lexical analyzer reads the input characters until it can identify next token.Sometimes, lexical analyzers are divided into a cascade of two phases, the first called “scanning”, and the second “lexical analysis”.The scanner is responsible for doing simple tasks, while the lexical analyzer proper does the more complex operations.The lexical analyzer which we have designed takes the input from an input file. It reads one character at a time from the input file, and continues to read until end of the file is reached. It recognizes the valid identifiers, keywords and specifies the token values of the keywords.It also identifies the header files, #define statements, numbers, special characters, various relational and logical operators, ignores the white spaces and comments. It prints the output in a separate file specifying the line number.

Benefits of the Project

• Easier and faster development.

• More efficient and compact.

• Very efficient and compact.

Technical Details of Final Deliverable

  • Lex Tool
  • A log of user stories (text file).
  • Access to live source code.
  • Running code (. APK file for Android and . IPA file for iOS).
  • "Read me" file.
  • Host server login credentials.

Final Deliverable of the Project

Software System

Core Industry

IT

Other Industries

Core Technology

Others

Other Technologies

Sustainable Development Goals

Zero Hunger, Quality Education, Partnerships to achieve the Goal

Required Resources

Item Name Type No. of Units Per Unit Cost (in Rs) Total (in Rs)
Total in (Rs) 0
If you need this project, please contact me on contact@adikhanofficial.com
DRIVERLESS AUTONOMOUS TAXI SERVICE

The project aims to build a monocular vision autonomous car prototype using Raspberry Pi a...

1675638330.png
Adil Khan
9 months ago
Walking Aid For Visually Impaired People

There are millions of people who are either visually impaired or are totally blind. The la...

1675638330.png
Adil Khan
9 months ago
Construction Recommendation System

Problem Statement: Most of the people face many problems when they construct their home th...

1675638330.png
Adil Khan
9 months ago
Automated Self-Cleaning Solar Panel

Solar energy is a big energy useful resource on hand, on the globe. Sun radiation can be c...

1675638330.png
Adil Khan
9 months ago
Punjabi text to speech system with support for visually impaired

According to the World Health Organization, around 40 million people in the world are blin...

1675638330.png
Adil Khan
9 months ago