Regular vs Context Free Grammars

后端 未结 8 1406
我寻月下人不归
我寻月下人不归 2020-11-30 16:44

I\'m studying for my computing languages test, and there\'s one idea I\'m having problems wrapping my head around.

I understood that regular grammars<

8条回答
  •  悲&欢浪女
    2020-11-30 17:31

    Basically regular grammar is a subset of context free grammar,but we can not say Every Context free grammar is a regular grammar. Mainly context free grammar is ambiguous and regular grammar may be ambiguous.

提交回复
热议问题