Syntax Directed Definition
A syntax directed definition is a context-free grammar in which
- Each grammar symbol X is associated with two finite sets of values: the synthesized attributes of X
and the inherited attributes of X. - Each productions A → α is associated with a finite set of expressions of the form
b!=f(C1, ….., Ck)
Called semantic rules where f is a function and
-
- either b is a synthesized attribute of A and the values C1, ….., Ck are attributes of the grammar
symbols of α or A. - or b is inherited attributes of a grammar symbol of α and the values C1, ….., Ck are attributes of
the grammar symbols of α or A.
- either b is a synthesized attribute of A and the values C1, ….., Ck are attributes of the grammar
- Each terminal symbol has no inherited attributes
Dear Aspirants,
Your preparation for GATE, ESE, PSUs, and AE/JE is now smarter than ever — thanks to the MADE EASY YouTube channel.
This is not just a channel, but a complete strategy for success, where you get toppers strategies, PYQ–GTQ discussions, current affairs updates, and important job-related information, all delivered by the country’s best teachers and industry experts.
If you also want to stay one step ahead in the race to success, subscribe to MADE EASY on YouTube and stay connected with us on social media.
MADE EASY — where preparation happens with confidence.

MADE EASY is a well-organized institute, complete in all aspects, and provides quality guidance for both written and personality tests. MADE EASY has produced top-ranked students in ESE, GATE, and various public sector exams. The publishing team regularly writes exam-related blogs based on conversations with the faculty, helping students prepare effectively for their exams.
