Pergunta

Is there a tool that can receive BNF grammar as input and produce a DFA from it? I have already found the 'hackingoff' tool in here: http://hackingoff.com/

But it is more of a testing tool and does not work on large grammars.

Foi útil?

Solução

DFAs do not have sufficient power to implement context-free parsers, e.g., what you can express with BNF. There is no such tool.

The specified website does not offer any such tool, either.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top