Visualizing Attribute Grammars
Bachelor
--
JurriaanHage - 28 Feb 2003
During the course on IPT you have probably encountered the UU-AG
system. Browsing through an .ag file (or even worse a collection of these)
it is often not clear how the dependencies between the different attributes are defined.
I want you to develop a program that takes an .ag file (or some intermediate structure)
and constructs a pictorial representation with for constructor including: what
attributes are defined, how do they relate, what code was written
to define it, what dependencies come from the chain/copy rules, which ones were
explicitly given, etc. etc.
At the moment I am thinking along the lines of a standalone program in Java, similar
to the Visual Tree program for visualizing ATerms.
In case there is enough time more options could be included like
selecting an attribute and then showing only those attributes
on which it (transitively) might depend.
It is likely that this program will be used in later years during
the course IPT and the Master program of our group.