質問

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.

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top