Social Sciences, asked by salwagkq412, 1 year ago

What is the function of a formal grammar?

Answers

Answered by S4MAEL
1
A formal grammar is a set of rules for rewriting strings, along with a "start symbol" from which rewriting starts. ... However, it can also sometimes be used as the basis for a "recognizer"—afunction in computing that determines whether a given string belongs to the language or is grammatically incorrect.

hope it helps
Answered by Priyanshu2000
0
A formal grammar is a set of rules for rewriting strings, along with a "start symbol" from which rewriting starts. ... However, it can also sometimes be used as the basis for a "recognizer"—afunction in computing that determines whether a given string belongs to the language or is grammatically incorrect.
Similar questions