title: What is the algorithm to convert min-DFA to right linear grammar?
body: <p>For the regex <code>(ab)+(xy)*a</code> I got the following min-dfa:
  <a href="https://i.stack.imgur.com/1fIAt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1fIAt.png" alt="enter image description here" /></a></p>
  <p>What is the algorithm to convert this to Right Linear grammar?</p>