Eclipse Plug-in for Authoring and Debugging Higher-order Rewriting

Slides:



Advertisements
Similar presentations
Introduction to Eclipse cs112b1 – Lab01 by Rui Shi.
Advertisements

Developing in CAS. Why? As distributed you edit CAS 3 with Eclipse and build with Maven 2 – Best Practice for Release Engineering – Difficult edit-debug.
Using Eclipse. Getting Started There are three ways to create a Java project: 1:Select File > New > Project, 2 Select the arrow of the button in the upper.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
KEVIN DANIELS ECLIPSE. OVERVIEW Integrated Development Environment (IDE) Usually used to develop applications in various programming languages (C, C++.
Using the Class Dependency Analyzer for OODT By Joshua Garcia.
Java Integrated Development Environments: ECLIPSE Part1 Installation.
Integrated Development Environments. Today We Will: Go over more advanced functionality of Eclipse. Break up into teams to work on presentation and final.
20-Jun-15 Eclipse. Most slides from: 2 About IDEs An IDE is an Integrated Development Environment.
Eclipse Introduction Dwight Deugo Nesa Matic
Views Dwight Deugo Nesa Matic
15-Jul-15 Starting Eclipse Just the basics. Getting Eclipse If you Google for “Eclipse”: The first hit is the home page, The second.
CRSX plug-in development. Prerequisites Software and Libraries Eclipse RCP (3.5 or higher) –Go –Select.
Eclipse IDE. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as teaching.
03 Using Eclipse. 2 IDE Overview An IDE is an Interactive Development Environment Different IDEs meet different needs BlueJ and DrJava are designed as.
An ide for teaching and learning prolog
Getting started with Eclipse By Alexander Butyaev.
Android Programming. Outline Preparation Create new project Build and Run a project Debug a project Deploy on devices.
1 eclipse Tips. 2 What is eclipse? Eclipse is a popular IDE (Integrated Development Environment) that we will use to create, compile, execute, and test.
Eclipse Overview Introduction to Web Programming Kirkwood Continuing Education Fred McClurg © Copyright 2015, Fred McClurg, All Rights Reserved.
Ali Shahrokni Application Components Activities Services Content providers Broadcast receivers.
LLRP GUI Client User Guide
JADE Toshihiro Tamura 12/16/09. 1. What’s the JADE  JADE = Java Agent DEvelopment framework  JADE is based on JAVA and developed in Italy in 
Plug-in Development Environment. Session Outline Tools Installation Configuration New Project Basic Debugging Remote Debugging.
SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit Slides: Theodore D. Hellmann.
Python – Part 1 Python Programming Language 1. What is Python? High-level language Interpreted – easy to test and use interactively Object-oriented Open-source.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 1 - Spring 2008 Instructor: Prof. Richard N. Taylor.
IDEs Department of Information Systems and Computer Science Ateneo de Manila University.
Introduction to Eclipse CSC 216 Lecture 3 Ed Gehringer Using (with permission) slides developed by— Dwight Deugo Nesa Matic
Introduction to Eclipse. What is Eclipse? An Integrated Development Environment Provides many features to ease C++ programming (and others, e.g. C/Java)
9/2/ CS171 -Math & Computer Science Department at Emory University.
Setting Up Eclipse. What is Eclipse? Eclipse is a free, downloadable software that allows us to create, compile, and run JAVA programs.
IBM Software Group ® Context-Sensitive Help with the DITA Open Toolkit Jeff Antley IBM October 4, 2007.
Eclipse Basics Create projects Debug Import/Export: s/import_export/
JDBC Tutorial CSCI 201L Jeffrey Miller, Ph.D. HTTP :// WWW - SCF. USC. EDU /~ CSCI 201 USC CSCI 201L.
DEVS M&S Tutorial with eclipse IDE Chungman Seo
Eclipse 24-Apr-17.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Ergo User Tutorial - Part 3 NCSA, UIUC.
Eclipse and JUnit. Eclipse Terms The Workbench Perspective –Collection of editors and views –Exampes: Java Pers., Debugging Persp. Editors (create a file)
Download and Install: 1.Java Development Kit (JDK) bin/INTERSHOP.enfinity/WFS/CDS- CDS_Developer-Site/en_US/- /USD/ViewProductDetail-Start?ProductRef=jdk-
Tool Install How to download & install Java 6 & Eclipse updated version based on Dr. G. L. Ray’s slides.
Introduction to Common Java Development Tools (1) 1.
Amir Iqbal L Mahwish Khan L Rabia Akhtar L Nida Sarwar L Cloud Computing Based – Online IDE.
Page 1 | | ©2009 Installation of Selenium IDE and RC Amit Maheshwari 20 th Sep’10.
National Center for Supercomputing Applications University of Illinois at Urbana-Champaign Ergo User Tutorial - Part 3 NCSA, UIUC.
Surya Bahadur Kathayat Outline  Ramses  Installing Ramses  Ramses Perspective (Views and Editors)  Importing/Exporting Example.
Building the CarryDrop simulation in Eclipse Creating a new project with existing code from John Murphy’s RePast tutorial.
TargetProcess - AGILE Project tracking tool Shashwat Gupta CS
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
CF Eclipse Nick Kwiatkowski Michigan State University, Physical Plant 8/8/2006.
Java IDE Dwight Deugo Nesa Matic
Access QA servers Install SSH/SFTP software –T:\QualityAssurance\Tools\SSH.
ML-Dev: SML Plug-in for Eclipse Yevgeniy Bangiyev 02/07/07 Yevgeniy Bangiyev 02/07/07.
Findbugs Tin Bui-Huy September, Content What is bug? What is bug? What is Findbugs? What is Findbugs? How to use Findbugs? How to use Findbugs?
Using Google SketchUp for Solar Blueprints
ATS Application Programming: Java Programming
SENG 301 – Tutorial 1 Introduction to Eclipse, Subclipse, and JUnit
Eclipse Navigation & Usage.
Installing and running the local check projects in Eclipse
SQL Server 2005 Installation
Setting up Eclipse Locally
Install Ruby If you are running on Mac OS X, Ruby is preinstalled.
DEBUGGING JAVA PROGRAMS USING ECLIPSE DEBUGGER
Introduction to Eclipse
LifeGuide From the perspective of the other side of the team
IDE’s and Debugging.
Java IDE Dwight Deugo Nesa Matic Portions of the notes for this lecture include excerpts from.
By Rajanikanth B Eclipse IDE Overview By Rajanikanth B
Performing Calculations on Data
Presentation transcript:

Eclipse Plug-in for Authoring and Debugging Higher-order Rewriting Takahide Nogayama

Contents Overview Prepare CRSX sample source code Rule file editor Debug tool for CRSX rewriting Prepare CRSX sample source code The simplest sample “Calc” Open rule file with eclipse plug-in Install eclipse plug-in for CRSX

Overview Rule file editor Debug tool Highlighting Outlining Syntax checking Debug tool Iterative rewriting Break point against rules

The Simplest Sample “Calc” Download crsx22.zip from http://sourceforge.net/projects/crsx/ Unzip crsx22.zip Run CRSX to calculate “1 + 2 + 3” $unzip crsx22.zip $java -jar crsx.jar -cp src “grammar={'net.sf.crsx.samples.calc.CalcParser'}” rules=samples/calc/interpret.crs category=P “term=1 + 2 + 3” 6 1 + 2 + 3 1 + 5 6

Open crs rule file with rule editor Start eclipse Create java project and copy files under crsx19 Right click samples/calc/interpret.crs Notify syntax error Jump by clicking outline Highlight syntax

Debug Tool for CRSX Rewriting (1) Right click rule file Select “CRSX”, and “Start iterative rewriting” (Perspective will be changed to “CRSX perspective”) Set arguments into “program arguments” text field Click “Start” button

Debug Tool for CRSX Rewriting (1) For each clicking “Next” button, one rewriting rule is applied to term 1 + 2 + 3 1 + 5 6

Debug Scenario Minus rule has a bug. The right term must be $[Minus, #I1, #I2] Assuming the Calc rule has a bug. (The right term of minus rule is Plus) A rule developer realizes the result of rewriting “1 + 2 – 3” is “6”. But it should be “0”. He wants to know which rule has issue. The developer starts iterative rewriting. The developer can find out the minus rule has an issue because the result of minus operator is 5 which is not expected. The result of “2 – 3” must be “-1” but is 5

Install Eclipse Plug-in for CRSX Prerequisite eclipse for java Doroid font Install Start eclipse Select “Help”, “Install New Software” Add repository CRSX http://crsx.sourceforge.net/eclipse-plugin/site.xml Click Next

Uninstall Eclipse Plug-in for CRSX Start eclipse Select “Help”, “About Eclipse” Click “Installation Details” button Click “Installed Software” tab Select “CRSX eclipse future” Click “Uninstall” button