Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top