*Result*: Implementation of lexical analyzer using QT framework.

Title:
Implementation of lexical analyzer using QT framework.
Authors:
Srivastava, Shivaansh1 (AUTHOR) ss9009@srmist.edu.in, Kumar, Saurav1 (AUTHOR) sk7999@srmist.edu.in, Agarwal, Aniket1 (AUTHOR) aa6003@srmist.edu.in
Source:
AIP Conference Proceedings. 2024, Vol. 3075 Issue 1, p1-5. 5p.
Database:
Academic Search Index

*Further Information*

*This work aims to explain the working of a lexical analyzer and also to build one using C++'s QT Framework. The lexical analyzer is the first stage in the compiler design process. A programmer's code in the compiler is first broken into individual tokens and stored in a data table. The study of the lexical analyzer is crucial as it has a variety of applications other than in compiler design. Upcoming technologies like artificial intelligence and natural language processing rely heavily on tokenization, hence it is necessary to develop an effective and efficient lexical analyzer. Existing lexical analyzers have been developed using very complex algorithms and rely on a limited set of non-editable symbols. This proposed work aims to develop an effective and efficient lexical analyzer tool using C++ and its associative framework, QT. Concepts of deterministic finite automata have been used to develop an easy-to-understand algorithm. This system will allow users to type in their code and generate respective tokens. Error messages will also be generated for any discovered violations. This proposed work can either work as a stand-alone tool or as a component for another system. The advantages of the proposed work are that it has been developed using mainstream technologies, the algorithm is easy to understand, error reporting is efficient and it can be distributed as an open-source tool which can help improve it further. [ABSTRACT FROM AUTHOR]*