1 / 9

Contributing to Rainbow’s Stitch Adaptation Language

Contributing to Rainbow’s Stitch Adaptation Language. Independent Study Summer 2006. Ali Almossawi Bradley Schmerl Shang-Wen (Owen) Cheng. Q1. When faced with a problem, how do you determine what action to take ? …. Overview.

uta
Download Presentation

Contributing to Rainbow’s Stitch Adaptation Language

An Image/Link below is provided (as is) to 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

Presentation Transcript


  1. Contributing to Rainbow’s Stitch Adaptation Language Independent StudySummer 2006 Ali Almossawi Bradley Schmerl Shang-Wen (Owen) Cheng

  2. Q1. When faced with a problem, how do you determinewhataction to take? … Overview Objective: Write an editor for the Stitch adaptation language as an Eclipse plug-in and investigate the language’s expressiveness Interviews with sysadmins Learning outcome: Learnt how to write Eclipse plug-ins Learning outcome: Learnt how to conduct a highly focused interview and probe for specific answers

  3. The Editor • Syntax and semantic checking • Integrated parser, tree walker and semantic checkers written by Owen • Reports errors and warnings to the problems view • Shows markers in the gutter

  4. The Editor • Outlineview • Modified ANTLR’s AST and improved its appearance • Linked tree nodes to lines in code • Sort option • “Only show this node’s code” option

  5. The Editor • Content Assistance • Keywords • Tactics • Color Coding • Customizable • Preference Page

  6. The Editor Quick Demo

  7. The Interviews • Objective • Determine whether or not I can write satisfactory repair scripts using Stitch based on the information I get from the sysadmin during the interview. The results would thereby determine the expressiveness of the language. • Method 1. Prepare sysadmin 2. Conduct interview 3. Write Stitch script 4. Perform interview post-mortem

  8. The Interviews • Results and Realizations • Rainbow does architecture-based adaptation, not script-type automation of tasks • It seemed natural to think in terms of strategies, tactics, triggers and attribute vectors • Wrote a Stitch script for the “Students using more bandwidth than allowed” problem • Also… • Documented some sysadmin problems that I typically come across and their corresponding solution strategies

  9. Questions The End 19

More Related