|国家预印本平台
首页|Visual Execution and Validation of Finite-State Machines and Pushdown Automata

Visual Execution and Validation of Finite-State Machines and Pushdown Automata

Visual Execution and Validation of Finite-State Machines and Pushdown Automata

来源:Arxiv_logoArxiv
英文摘要

In Formal Languages and Automata Theory courses, students find understanding nondeterministic finite-state and pushdown automata difficult. In many cases, this means that it is challenging for them to comprehend the operational semantics of such machines and, as a consequence, determine why a word is accepted or rejected. This is not entirely surprising, because students are mostly trained to design and implement deterministic programs. Comprehension of pushdown automata is further complicated, because reasoning about the stack is necessary. A common difficulty students face, for example, is understanding that two different computations on the same word may reach the same state with different stack values. To aid student understanding, we present two novel dynamic visualization tools for FSM -- a domain-specific programming language for the Automata Theory classroom -- to support the design of such machines. These tools visualize all computations that may be performed, respectively, by a nondeterministic finite-state machine or by a pushdown automata in a stepwise manner. In addition, these tools aid the machine verification process by allowing users to visually validate whether the properties a state represents hold when a machine transitions into it.

Marco T. Morazán、David Anthony K. Fields、Andrés M. Garced、Tijana Minić

10.4204/EPTCS.424.5

自动化基础理论计算技术、计算机技术

Marco T. Morazán,David Anthony K. Fields,Andrés M. Garced,Tijana Minić.Visual Execution and Validation of Finite-State Machines and Pushdown Automata[EB/OL].(2025-08-05)[2025-08-16].https://arxiv.org/abs/2508.03641.点此复制

评论