News for hackers. Stuff that matters.
Re:Designing state machines by karboosx on Monday June 26, 2017 @09:20AM (#14636540)
I didn't know GraphViz. I have to try it. DOT language looks very similar to Mermaid.

It was too hard to make that compiler or you have encountered another problem?

Re:Designing state machines by nerdponx on Monday June 26, 2017 @02:42PM (#14639183)
I didn't even know what BNF was when I had the idea ;)

It's still on my list of short projects. I have a lot of learning to do, knowing nothing about writing parsers and such. Yes, I know I could probably hack it together with a bunch of garbage Python. But that just does not sound fun to write, let alone maintain.

Re:Designing state machines by karboosx on Monday June 26, 2017 @04:14PM (#14639970)
Apparently some people also wanted graphviz syntax: https://github.com/knsv/mermaid/issues/5

I also find another project called Viz.js[1]. It's graphviz in javascript. Looks promising. It's hard to choose between this two. On the one hand is very simple syntax, and on the other hand more flexibility.

[1] https://github.com/mdaines/viz.js/