Lexical Analysis Implementation by Using Deterministic Finite Automata (DFA)
DOI:
https://doi.org/10.37376/asj.vi3.953Keywords:
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
Downloads
Published
How to Cite
Issue
Section
License
Copyright (c) 2021 Almanara Scientific Journal

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
Permitted third party reuse of the articles published by Almanara Scientific Journal is defined by the following international user license:
Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 license (CC BY-NC-ND 4.0): This Allows users to download, copy, distribute, print, search, or link to the full texts of articles stored in the publications Archive, provided that this is done for non-commercial purposes. Distribution of the article is not permitted if it is changed or edited in any way. Reuser must give appropriate credit (i.e DOI link) to the formal publication, and provide a link to the license. The full details of the license are available at https://creativecommons.org/licenses/by-nc-nd/4.0/



