V:4.1.4/Karajan:Interpreter

From Java CoG Kit

Jump to: navigation, search

 

Usage:

 cog-workflow <options> file <arguments>

Options

(-execute | -e) <string>
Execute the script given as argument
-showstats
Show various execution statistics at the end of the execution
-debug
Enable debugging. This will enable a number of internal tests at the expense of speed. You should not use this since it is useful only for catching subtle consistency issues with the interpreter.
-debugger
EXPERIMENTAL and BUGGY. Starts the internal graphical debugger
-monitor
Shows a resource monitor
-dumpstate
If specified, in case of a fatal error, the interpreter will dump the state in a file
-intermediate
Saves intermediate XML code resulting from the translation of .k files
(-help | -h)
Display usage information
-cache
EXPERIMENTAL! Enables cache persistance

File

The file represents the name of the script to run, in either XML or K syntax.

Arguments

Arguments to the script can be specified after the file name. They are distinct from the interpreter options, and are passed to the script as a constant, in the form of a list named "cmdline:arguments".

Personal tools
Collaboration and Jobs