L-attributed grammar


**Not a L-attributed grammar if some attribute depends to the right (only to the left)**
[S-attributed grammar](https://texonom.com/s-attributed-grammar-ae6502619b6b4727bd7b56647bcde470)  is [L-attributed grammar](https://texonom.com/l-attributed-grammar-102c2ba3b2ad47f79a1f59887c9182b8) 
- LHS 동일할 때는 terminal, nonterminal RHS LHS 나오는 순서 같아야 하고
- LHS 다를 때는 왼쪽의 거나 LHS에 의존해야 한다



> [L-attributed grammar - Wikipedia](https://en.wikipedia.org/wiki/L-attributed_grammar)





