Package com.twineworks.tweakflow.lang
Class TweakFlow
java.lang.Object
com.twineworks.tweakflow.lang.TweakFlow
Entry point for tweakflow evaluation.
Use compile to load a set of files and create a Runtime.
Use evaluate to evaluate an expression in empty scope.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Runtimestatic Runtimecompile(LoadPath loadPath, String path, DebugHandler debugHandler) static Runtimestatic Runtimecompile(LoadPath loadPath, List<String> paths, DebugHandler debugHandler) static Runtimecompile(LoadPath loadPath, List<String> paths, DebugHandler debugHandler, boolean multiThreaded) static Runtimestatic Runtimecompile(Map<String, String> modules, DebugHandler debugHandler) static RuntimecompileRecovery(LoadPath loadPath, List<String> paths, DebugHandler debugHandler, boolean multiThreaded) static Valuestatic Valuestatic ParseResult
-
Constructor Details
-
TweakFlow
public TweakFlow()
-
-
Method Details
-
compile
-
compile
-
compile
-
compile
-
compile
public static Runtime compile(LoadPath loadPath, List<String> paths, DebugHandler debugHandler, boolean multiThreaded) -
compile
-
compile
-
compileRecovery
public static Runtime compileRecovery(LoadPath loadPath, List<String> paths, DebugHandler debugHandler, boolean multiThreaded) -
parse
-
evaluate
-
evaluate
-