Is Automata's Transition Table Generator exists?

I mean something that convert visual transition table into C code...

It's quite hard if we design the table manually...

Any suggestion?

Note:
I was googling for this and found nothing.