Visualizing ROSE Abstract Syntax Trees - PowerPoint PPT Presentation

About This Presentation
Title:

Visualizing ROSE Abstract Syntax Trees

Description:

Leverages the semantics of object-oriented frameworks ... Requires an understanding of the ... DHTML. Cross-browser compatible. Demonstration. Lessons Learned ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 12
Provided by: sunjeev3
Learn more at: https://cseweb.ucsd.edu
Category:

less

Transcript and Presenter's Notes

Title: Visualizing ROSE Abstract Syntax Trees


1
Visualizing ROSE Abstract Syntax Trees
  • Sunjeev Sikand

2
ROSE What Is It?
  • A Preprocessor Generation Tool
  • Leverages the semantics of object-oriented
    frameworks
  • Makes it possible to drive optimizations via
    source code transformations

3
ROSE Flow Chart
4
Motivation
  • Writing a preprocessor to implement a
    transformation is difficult
  • Requires an understanding of the structure of the
    AST
  • Need to examine inherited/synthesized attributes
    of an AST node
  • Becomes further complicated when AST is extremely
    large

5
One Approach DOT
6
But
  • Doesnt Scale Well
  • If we wanted to print out info about each node
    other than its type the graph would grow very
    fast!
  • We cant print out a selected portion of AST
    hiding information were not interested in
  • Doesnt fit on a page

7
A Better Approach Comes Along
  • Tree of folders because it is easy to learn
  • Find information easily and quickly.
  • Efficient in the number of clicks involved.
  • DHTML
  • Cross-browser compatible

8
Demonstration
9
Lessons Learned
  • People are going to be upset when they have to
    downgrade to an older version of a program just
    to run yours!
  • ROSE is compatible only with gcc 2.96 (2 years
    old) and not a production version of gcc
  • Schedules are hard to follow
  • Its important to focus on whats needed rather
    than what would be nice

10
Acknowledgments
  • http//www.treemenu.net

11
Questions???
Write a Comment
User Comments (0)
About PowerShow.com