Visual Designing and Debugging of Deterministic Finite-State Machines in FSM

08/21/2020
by   Marco T. Morazán, et al.
0

This article presents a visualization tool for designing and debugging deterministic finite-state machines in FSM – a domain specific language for the automata theory classroom. Like other automata visualization tools, users can edit machines and observe their execution, given some input. Unlike other automata visualization tools, the user is not burdened nor distracted with rendering a machine as a graph. Furthermore, emphasis is placed on the design of machines and this article presents a novel design recipe for deterministic finite-state machines. In support of the design process, the visualization tool allows for each state to be associated with an invariant predicate. During machine execution, the visualization tool indicates if the proposed invariant holds or does not hold after each transition. In this manner, students can validate and debug their machines before attempting to prove partial correctness or submitting for grading. In addition, any machine edited with the visualization tool can be rendered as executable code. The interface of the visualization tool along with extended examples of its use are presented.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/27/2023

An Analysis of On-the-fly Determinization of Finite-state Automata

In this paper we establish an abstraction of on-the-fly determinization ...
research
09/17/2020

Typestates to Automata and back: a tool

Development of software is an iterative process. Graphical tools to repr...
research
10/24/2017

Macrogeneration and Automata Libraries For COSMA design environment

In ICS, WUT a COSMA design environment is being developed. COSMA is base...
research
05/27/2020

From Functional Nondeterministic Transducers to Deterministic Two-Tape Automata

The question whether P = NP revolves around the discrepancy between acti...
research
08/02/2020

MDA Models and PIM/PSM Transformations Using Extended Automata

This paper proposes a model of execution platform for the OMG request of...
research
06/20/2022

Learning from Positive and Negative Examples: New Proof for Binary Alphabets

One of the most fundamental problems in computational learning theory is...
research
01/22/2021

Using Finite-State Machines to Automatically Scan Classical Greek Hexameter

This paper presents a fully automatic approach to the scansion of Classi...

Please sign up or login with your details

Forgot password? Click here to reset