{"id":6525,"date":"2026-01-07T12:53:04","date_gmt":"2026-01-07T07:23:04","guid":{"rendered":"https:\/\/study.madeeasy.in\/?p=6525"},"modified":"2026-01-07T12:53:04","modified_gmt":"2026-01-07T07:23:04","slug":"syntax-directed-definition","status":"publish","type":"post","link":"https:\/\/www.madeeasy.in\/study\/cs-it\/syntax-directed-definition","title":{"rendered":"Syntax Directed Definition"},"content":{"rendered":"<p>A syntax directed definition is a context-free grammar in which<\/p>\n<ul>\n<li>Each grammar symbol X is associated with two finite sets of values: the synthesized attributes of X<br \/>\nand the inherited attributes of X.<\/li>\n<li>Each productions A \u2192 \u03b1 is associated with a finite set of expressions of the form<\/li>\n<\/ul>\n<p style=\"text-align: center;\">b!=f(C1, &#8230;.., Ck)<br \/>\nCalled semantic rules where f is a function and<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>either b is a synthesized attribute of A and the values C1, &#8230;.., Ck are attributes of the grammar<br \/>\nsymbols of \u03b1 or A.<\/li>\n<li>or b is inherited attributes of a grammar symbol of \u03b1 and the values C1, &#8230;.., Ck are attributes of<br \/>\nthe grammar symbols of \u03b1 or A.<\/li>\n<\/ul>\n<\/li>\n<li>Each terminal symbol has no inherited attributes<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>A syntax directed definition is a context-free grammar in which Each grammar symbol X is associated with two finite sets<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1908,3],"tags":[1929,1928],"class_list":["post-6525","post","type-post","status-publish","format-standard","hentry","category-compiler","category-cs-it","tag-semantic-rules","tag-syntax-directed"],"_links":{"self":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/6525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/comments?post=6525"}],"version-history":[{"count":0,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/posts\/6525\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/media?parent=6525"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/categories?post=6525"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.madeeasy.in\/study\/wp-json\/wp\/v2\/tags?post=6525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}