Back to Search Start Over

A formalisation of parameterised reference attribute grammars

Authors :
Anthony M. Sloane
Scott Buckley
Source :
SLE
Publication Year :
2017
Publisher :
ACM, 2017.

Abstract

The similarities and differences between attribute grammar systems are obscured by their implementations. A formalism that captures the essence of such systems would allow for equivalence, correctness, and other analyses to be formally framed and proven. We present Saiga, a core language and small-step operational semantics that precisely captures the fundamental concepts of the specification and execution of parameterised reference attribute grammars. We demonstrate the utility of by a) proving a meta-theoretic property about attribute caching, and b) by specifying two attribute grammars for a realistic name analysis problem and proving that they are equivalent. The language, semantics and associated tests have been mechanised in Coq; we are currently mechanising the proofs.

Details

Database :
OpenAIRE
Journal :
Proceedings of the 10th ACM SIGPLAN International Conference on Software Language Engineering
Accession number :
edsair.doi...........2e9399e4b63584a0d5d9e7ab009ac213
Full Text :
https://doi.org/10.1145/3136014.3136024