Jump to content

ECLR-attributed grammar

From Wikipedia, the free encyclopedia

ECLR-attributed grammars are a special type of attribute grammars.

They are a variant of LR-attributed grammars where an equivalence relation on inherited attributes is used to optimize attribute evaluation. EC stands for equivalence class. The compiler generator Rie (first developed 1985) was based on ECLR-attributed grammars.[1]

References

[edit]
  1. Deransart, Pierre; Jourdan, Martin; Lorho, Bernard (10 August 1988). Attribute Grammars: Definitions, Systems, and Bibliography. Lecture Notes in Computer Science. Vol. 323. Berlin/Heidelberg: Springer-Verlag. p. 149. doi:10.1007/bfb0030509. ISBN 978-3-540-50056-8.
[edit]