shailpatels / FSS

Finite State Simulator (FSS) is a web application for building and simulating finite state machines. Users can test input strings, step through the machine, and see a transition table of all states. Built with native JS and HTML.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Finite State Simulator (FSS)

FSS CI

FSS is a program to quickly design Finite State Machines and later simulate them Developed using the HTML canvas and native JavaScript

example

Usage

  • Double-click to add a new state

  • Left-click & drag to move a state/connection

  • Shift + left-click to add a connection between states

  • Right click to delete a state

  • Enter a string as input for the FSM

  • A string can be submitted multiple times

  • Press step to simulate the FSM against the input

  • Reset will reset the simulation

Devloping

Clone and enter the FSS directory

Run

npm install

then

npx serve

to view the project on localhost, simply make your changes and refresh the browser to see them.

npm test

To run the jest test suit

About

Finite State Simulator (FSS) is a web application for building and simulating finite state machines. Users can test input strings, step through the machine, and see a transition table of all states. Built with native JS and HTML.

License:GNU General Public License v3.0


Languages

Language:JavaScript 94.1%Language:HTML 4.0%Language:CSS 1.7%Language:Shell 0.2%