com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of BowlerScriptingKernel Show documentation
Show all versions of BowlerScriptingKernel Show documentation
A command line utility for accsing the bowler framework.
package com.neuronrobotics.bowlerstudio.scripting;
import java.io.File;
import java.util.ArrayList;
import javafx.scene.Group;
/**
* Adding additional language support to bowler studio
* THis interface is for adding new scripting languages
* Add the new langauge in the Static declaration of ScriptingEngine
* or dynamically via:
*
* ScriptingEngine.addScriptingLanguage(new IScriptingLanguage());
*
* @author hephaestus
*
*/
public interface IScriptingLanguage {
/**
* This interface is for adding additional language support.
* @param code file content of the code to be executed
* @param args the incoming arguments as a list of objects
* @return the objects returned form the code that ran
*/
public abstract Object inlineScriptRun(File code, ArrayList
© 2015 - 2025 Weber Informatics LLC | Privacy Policy