Giter Site home page Giter Site logo

amirkabiri / finite-automata Goto Github PK

View Code? Open in Web Editor NEW
17.0 2.0 3.0 228 KB

Graphical interface for designing finite automata

Home Page: https://fa.akdev.ir

CSS 4.07% JavaScript 91.95% HTML 3.98%
dfa nfa fa finite-automata deterministic-finite-automata non-deterministic-finite-automaton nfa-to-dfa-conversion graphical-interface nfa2dfa dfa-minimization

finite-automata's Introduction

demo

Finite Automata

code style: prettier

this is a graphical interface for designing finite automata written in javascript

Online Demo

click here to see online demo

Tasks

  • creating dfa and nfa graphically
  • convert nfa to dfa
    • define and send unavailable symbols of every state to trap
    • convert duplicate symbols of every state
    • convert lambda transitions
  • minimize dfa and removing useless states
    • remove useless states
    • minimize dfa
  • export dfa as image
  • reset action to remove all states
  • grammar algorithms
    • convert dfa to grammar
    • create dfa from grammar
  • remove specific transition
  • make drawing transitions better and more pretty
  • regex algorithms
    • convert finite automata to regular expressions
    • create finite automata from regular expressions
    • convert regular expressions to machine-executable regex
  • test finite automata with a string

finite-automata's People

Contributors

amirkabiri avatar rezakargar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

finite-automata's Issues

Issue during testing

image
image
Whenever there are two transition like this in between two states, the program thinks one of the transitions fails no matter what.
For example, this automaton should both accept 101 and 010 as inputs, but the program only thinks that 010 is valid and rejects 101.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.