Download presentation
Presentation is loading. Please wait.
Published byLoreen Powers Modified over 9 years ago
1
Contributing to Rainbow’s Stitch Adaptation Language Ali Almossawi Bradley Schmerl Shang-Wen (Owen) Cheng Independent Study Summer 2006
2
2 Q1. When faced with a problem, how do you determine what action to take? … Interviews with sysadmins Objective: Write an editor for the Stitch adaptation language as an Eclipse plug-in and investigate the language’s expressiveness Learning outcome: Learnt how to write Eclipse plug-ins Learning outcome: Learnt how to conduct a highly focused interview and probe for specific answers Overview
3
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
4 Outline view –Modified ANTLR’s AST and improved its appearance –Linked tree nodes to lines in code –Sort option –“Only show this node’s code” option The Editor
5
5 Content Assistance –Keywords –Tactics Color Coding –Customizable Preference Page The Editor
6
6 Quick Demo
7
7 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 The Interviews
8
8 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 The Interviews
9
9 Questions 19 The End
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.