Structuring Attribute Grammars: Executable Semantics and Type Safety in Haskell
This work explores a comprehensive framework for attribute grammars (AGs) focusing on compositional semantics expressed as executable functions in Haskell. It addresses semantic aspects such as type checking, remote attribute access, and copying inherited attributes. The study involves both existing and novel retrieval forms of attributes, along with rules for defining and structuring attributes with type safety. We provide examples of rule trees and chains that demonstrate the application of these concepts in the semantics of AGs, ultimately aiming to enhance safety and flexibility in grammar design.
Download Presentation 
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.During download, if you can't get a presentation, the file might be deleted by the publisher.
E N D
