question: attribute grammar

separk@pollux.usc.edu (separk)
30 Mar 1998 21:39:21 -0500

          From comp.compilers

Related articles
question: attribute grammar separk@pollux.usc.edu (1998-03-30)
Re: question: attribute grammar Etienne.Duris@inria.fr (Etienne Duris) (1998-04-03)
Re: question: attribute grammar deri@informatik.unibw-muenchen.de (Frank Derichsweiler) (1998-04-03)
| List of all articles for this month |
From: separk@pollux.usc.edu (separk)
Newsgroups: comp.compilers
Date: 30 Mar 1998 21:39:21 -0500
Organization: University of Southern California, Los Angeles, CA
Keywords: attribute

Hello,


I understand that an attribute grammar provides a static semantics of
a given context-free grammar.


However, I am wondering in general how one determines inherited
attributes and synthesized attributes for terminals and nonterminals
of a given context-free grammar.


Is there a rule that tells how those attributes should be determined
or the determination should be done so that those attributes reflect
the semantics of the grammar (so, could be arbitrarily defined)?


I would really apperciate any explanation and pointers that I could
find more information about the subject.


Thank you very much for your time.


Regards,
Seongbin Park




--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.