I read from Dragon Book that Syntax directed translation is used for type checking for instance where performing some reductions and other operation on the string or symbol we perform some additional operations.
https://en.wikipedia.org/wiki/L-attributed_grammar Here for instance many things are sorted but still i have some doubts regarding this.
Defintion in compiler can be on synthesized and inherited attribute and we all know L definitions have both s and inhertited attributes but some questions interpret it differently for ex :
In both of this question The answer is L attributes definition I understand that but it could be Both because L attribute definition is both.
Resolve my doubt !