Syntax-directed definitions, attaching meaning to grammar rules
How compilers attach "meaning-computing" actions directly onto grammar rules, and the two flavors of attribute — synthesized and inherited.
9 min readUpdated 2026-09-03compiler-designsemanticssyntax-directed-translation