from Hacker News

Finite State Machine Designer

by gurjeet on 8/11/24, 2:48 PM with 33 comments

  • by latchkey on 8/12/24, 9:15 AM

  • by tgv on 8/11/24, 4:08 PM

    You might want to add graphviz/digraph export (and possibly import). It's a pretty decent format for this kind of task, supported by several IRL tools.

    Oh ... 2010. I guess it's not actively being maintained.

  • by pkoird on 8/11/24, 5:09 PM

    I remember using this to submit FSM related assignments for my Theory of Computation classes back in the day. Fun times.
  • by iforgotmysocks on 8/12/24, 9:06 AM

    Check out automatarium - https://automatarium.tdib.xyz/ It can do finite state automata, pushdown automata and turning machines. We use it for computing theory classes at RMIT, and it was built by RMIT students.
  • by Retr0id on 8/11/24, 5:37 PM

    Is there a way to subscript double-digit numbers? I tried S_{10} but it doesn't seem to work.

    Edit: Kinda hacky/unintuitive but you can type S_1_0

  • by Svoka on 8/11/24, 6:10 PM

    On macOS deleting something is actually pressing fn+delete
  • by davidkpiano on 8/12/24, 2:00 PM

    I remember this! It was one of my inspirations for creating a hierarchical state machine editor [0] and a state machine library with a visualization layer [1].

    [0] https://state.new [1] https://github.com/statelyai/xstate

  • by bmc7505 on 8/12/24, 12:34 AM

    This is a handy tool, but I wish it supported edge snapping. If you inspect the generated LaTeX it doesn't actually link up the FSM states, it just anchors them to raw TikZ coordinates.
  • by classified on 8/13/24, 9:22 AM

    Does it only run in Chrome? Is my VM too slow? Anyway, it doesn't work in my Linux Firefox. Too bad we don't have a real app for this.
  • by nrjames on 8/12/24, 1:36 PM

    Machinations[0] is a cool tool in this category:

    [0]https://machinations.io

  • by whatnotests2 on 8/11/24, 3:53 PM

    Hmm doesn't appear on android mobile chrome. I just see a white square where the designer should appear.
  • by prezjordan on 8/11/24, 7:38 PM

    Impressive! I wonder what this guy went on to build /s
  • by classified on 8/12/24, 8:11 AM

    Too bad it's webshit. A command line tool with several language backends would come in quite handy.