I've read about attribute grammars, but I haven't found out, how are the attributes often implemented?To me they scream objects (of classes), but they could be also variables.But are there any general rules as to how the attributes should be implemented in a practical implementation? Or is it free form?
Attribute grammars: How are attributes implemented?
compilers;attribute grammars