Skip to content

Notes on Scripting Support_76560

nxi edited this page Apr 9, 2015 · 1 revision
Created by Tony Lam, last modified on Jan 06, 2010

GumTree Scripting Proposal

Many scientific applications support scripting for scientist to perform instrument control and data manipulation.  As a universal scientific workbench, GumTree should leverage available scripting languages and tools to enable scripting to the users.

Scripting support in GumTree

Available langauges for Eclipse RCP: Option 1: Using adhoc interpreter with Eclipse Monkey Each scripting language listed above has its own interpreter to evaluate commands and scripts for execution.  On the other hand Eclipse Monkey provides a Java based DOM object (via extension point) that acts as shortcuts to access different aspect of the Eclipse system.  Combining a particular language and Eclipse Monkey, users can control the workbench (eg, display a graph in new view, or switch to another perspective) via the interpreter. Option 2: Using Java SE 6 Scriptig API Scripting under RCP can be unified by using the JVM to evaluate commands, see:http://www.devx.com/Java/Article/34545?trk=DXRSS_JAVA

Links

Programming Languages for the Java Virtual Machine
scripting.dev.java.net
Scriptlandia

Scripting with Cicada


GumTree has a port based process framework that provides a reconfigurable way to perform data reduction and analysis.  Currently the process framework (aka Cicada) design is very static because the process chain structure (described in the xml recipe files) and the algorithm code cannot be simply reconfigured at runtime.  In order to provide a more dynamic behaviour for expert users, scripting capability on the Cicada framework is essential.
What can be scripted?
  1. Process chain structure
  2. Algorithm (or what is being wrapped by the processor) 
Document generated by Confluence on Apr 01, 2015 00:11
Clone this wiki locally