Regular Grammar - DFA to Right linear Grammar

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 1

  • @taneliharkonen2463
    @taneliharkonen2463 3 года назад

    I think it is a better way to put epsilon to the variable of the accepting state. Otherwise you have to take into account all incoming references from other variables. Because of this you made a mistake and the grammar cannot generate a single "0", that is recognized by the DFA. Just take the 0 out of the variable C, and add an epsilon in the state B. Otherwise ur golden.