کد مقاله | کد نشریه | سال انتشار | مقاله انگلیسی | نسخه تمام متن |
---|---|---|---|---|
433969 | 1441634 | 2015 | 12 صفحه PDF | دانلود رایگان |

• Silver, an extensible attribute grammar system, is used to specify the language Oberon0 for the LDTA'11 Tool Challenge.
• We highlight the modular nature of these specifications.
• We show how forwarding, a default attribute evaluation mechanism, simplifies the specification of language extensions.
This paper describes an implementation of Oberon0 using the Silver attribute grammar system for the Tool Challenge at the 2011 International Workshop on Language Descriptions, Tools, and Applications. Silver was developed to study how independently-developed language extension specifications can be imported into a host language specification to define a new custom extended language. Thus it contains many features useful in modular language specification, such as forwarding, higher-order attributes, reference/remote attributes, and a simplified form of collection attributes. These are discussed in the context of the Oberon0 specification presented here.
Journal: Science of Computer Programming - Volume 114, 15 December 2015, Pages 33–44