Syntactic Specification and Analysis with Attributed Grammars

dc.contributor.authorMilton, Donn Roberten_US
dc.date.accessioned2012-03-15T16:27:39Z
dc.date.available2012-03-15T16:27:39Z
dc.date.created1977en_US
dc.date.issued1977
dc.description.abstractAttributed grammars have traditionally been used for the semantic specification of programming languages and for the implementation of the translation phase of compilers. We investigate attributed grammars as an efficiently parsable syntactic specification mechanism that can handle many of the non-context-free aspects of programming language syntax. A formal definition of attributed grammars is provided, and the notion of an attributed derivation is examined. We identify a parsable class of attributed grammars, called strong ALL(k), and the corresponding parser is developed as an extension of the strong LL(k) technique. Algorithms are presented for testing the strong ALL(k) property and for generating the strong ALL(k) parser. Finally, a number of applications are considered, establishing ALL(k) grammars as an effective tool for handling context-sensitivity in programming languages, and for reducing the size of programming language grammars.en_US
dc.format.mimetypeapplication/pdfen_US
dc.identifier.citationTR304
dc.identifier.urihttp://digital.library.wisc.edu/1793/58050
dc.publisherUniversity of Wisconsin-Madison Department of Computer Sciencesen_US
dc.titleSyntactic Specification and Analysis with Attributed Grammarsen_US
dc.typeTechnical Reporten_US

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
TR304.pdf
Size:
4.48 MB
Format:
Adobe Portable Document Format