Skip to content

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

Notifications You must be signed in to change notification settings

shailpatels/FSS

Repository files navigation

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published