/dfa-sim

DFA simulator

Primary LanguageNim

DFA simulator

A simple DFA (Deterministic finite automata) simulator

Demo

drawing states and transitions

image

testing DFA

image

How To Build

enter nimble gen, a file named script.js will appear in the build directory.

other dependencies that must be in the build directory in order to be able to run this app:

  • bootstrap.min.css
  • konva.js

then simply open index.html and TADA!

Built Upon:

  • Nim@1.6.6 programming language
  • Konva@8.3.13 graphic library
  • Karax@1.2.2 SPA framework
  • bootstrap@4 UI library

Tutorial

on Aparat

Features

  • draw DFA
  • test DFA
  • save/load DFA as .json