Back to Search
Start Over
A formalisation of parameterised reference attribute grammars
- 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.
- Subjects :
- Theoretical computer science
Computer science
Programming language
Attribute grammar
Context-sensitive grammar
020207 software engineering
0102 computer and information sciences
02 engineering and technology
computer.software_genre
01 natural sciences
Operational semantics
Tree-adjoining grammar
010201 computation theory & mathematics
0202 electrical engineering, electronic engineering, information engineering
Definite clause grammar
Equivalence (formal languages)
L-attributed grammar
Phrase structure grammar
computer
Subjects
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