Computer Science, asked by tusharbhardwaj4747, 10 months ago

Define SDD. (Syntax Directed Definitions).

Answers

Answered by sabhyata09
1

Syntax Directed Definition (SDD) is a kind of abstract specification. It is generalization of context free grammar in which each grammar production X –> a is associated with it a set of production rules of the form s = f(b1, b2, ……bk) where s is the attribute obtained from function f. The attribute can be a string, number, type or a memory location. Semantic rules are fragments of code which are embedded usually at the end of production and enclosed in curly braces ({ }).

Similar questions