regexcompiler-constructionbnf

How to convert a regular grammar to regular expression?


Is there an algorithm or tool to convert regular grammar to regular expression?


Solution

  • Answer from dalibocai:

    My goal is to convert regular grammer to DFA. Finally, I found an excellent tool : JFLAP.

    A tutorial is available here: https://www2.cs.duke.edu/csed/jflap/tutorial/framebody.html