28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
"##Eskil Plugin :". A plugin is sourced and used in its own safe
interpreter and thus have free access to its own global space. Hookup
points are defined by declaring specifically named procedures as specified
below, and apart from those, a plugin can define and do whatever within
the limits of a safe interpreter.
In addition to the standard safe interpreter environment, a plugin has
access to stdout as well.
A plugin is set up with these global variables filled in:
* ::WhoAmI : The name of the plugin
* ::Info : The contents of -plugininfo parameter
* ::Pref : A copy if Eskil's internal preferences array.
* ::argv : A copy of the command line from Eskil's invocation
|
|
>
>
|
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
"##Eskil Plugin :". A plugin is sourced and used in its own safe
interpreter and thus have free access to its own global space. Hookup
points are defined by declaring specifically named procedures as specified
below, and apart from those, a plugin can define and do whatever within
the limits of a safe interpreter.
In addition to the standard safe interpreter environment, a plugin has
access to stdout as well. By using the command line option -pluginallow,
the plugin is run in a standard interpreter and may e.g. do exec to utilize
external tools.
A plugin is set up with these global variables filled in:
* ::WhoAmI : The name of the plugin
* ::Info : The contents of -plugininfo parameter
* ::Pref : A copy if Eskil's internal preferences array.
* ::argv : A copy of the command line from Eskil's invocation
|