Lexical Analysis Implementation by Using Deterministic Finite Automata (DFA)

Authors

  • Hassan .k. Mohamed
  • Fathia . A. A. Albadri
  • Raja . A. Mohamed

DOI:

https://doi.org/10.37376/asj.vi3.953

Keywords:

Automata, Lexical, Deterministic Finite Automata, Token, Lexical Analyzer.

Abstract

A compiler is a computer program (or set of programs) that transforms source code written in a programming language into another computer language known as the target language, often having a binary form identified as object code. The compiler has some phases and the main concern of this report is about the implementation of Lexical Analysis using the Deterministic Finite Automata (DFA) that is a finite state machine that accepts or rejects finite strings of symbols and only produces a unique computation of the automaton for each input string.

Through building a Finite Automata using a model known as JFLAP and utilizing it to execute some patterns, which were integer number, real number, operators, and some keywords. This model approved that DFA is accurate to produce a unique computation for each input string.  In addition, using JFLAP approved that the time-consuming.

Downloads

Download data is not yet available.

Downloads

Published

2021-11-03

How to Cite

Mohamed, H. ., Albadri, F. ., & Mohamed, R. . (2021). Lexical Analysis Implementation by Using Deterministic Finite Automata (DFA). Almanara Scientific Journal, (3). https://doi.org/10.37376/asj.vi3.953

Issue

Section

Articles