Index of values


(&-) [Godi_script]
Conditional sequencing: If the first commandlet returns the exit code 0, the second commandlet is also executed (like the "&&" shell operator).
(|-) [Godi_script]
Conditional sequencing: If the first commandlet returns a non-zero exit code, the second commandlet is also executed (like the "||" shell operator).

C
c_compile_test [Godi_script]
The string must contain the C program to be used as test.
cmd [Godi_script]
The commandlet that executes the passed command (as string).
cmd_output [Godi_script]
The commandlet that executes the passed command (as string), and reads the output of the command (stdout).
cmdf [Godi_script]
Same as cmd but accepts a printf-like format string
cmdf_output [Godi_script]
Same as cmd_output but accepts a printf-like format string
code [Godi_script]
The current exit code
create_test_whether_c_function_exists [Godi_script]
Input is the name of a C function.

E
env [Godi_script]
Returns the named environment variable, or "" if the variable does not exist.
env_opt [Godi_script]
Returns the named environment variable, or None if the variable is empty or does not exist.
eval [Godi_script]
Evaluates a commandlet, and returns the result value.
eval_test [Godi_script]
Evaluates a commandlet, and returns true if the exit code is 0, and false if the exit code is non-zero.

F
find_c_library [Godi_script]
Searches a C library.

I
ignore_code [Godi_script]
Executes the commandlet, and ignores the exit code, i.e.
initial_state [Godi_script]
The initial state has code 0, and no result value

L
log [Godi_script]
Appends the string to the log file.
logf [Godi_script]
Same as log, but accepts a printf-like format string

M
main_c_finder [Godi_script]
A configurable main program.

P
print_c_result [Godi_script]
Prints the C environment to the file and to the screen.

R
read_file [Godi_script]
Reads the file into memory, and returns it as string
read_from_cmd [Godi_script]
Starts the command, reads its output (stdout), waits for its completion, and returns both the exit code and the output.
read_from_cmdf [Godi_script]
Same as read_from_cmd, but accepts a printf-like format string.
result [Godi_script]
The current result value
return_code [Godi_script]
Returns the modified state where the code is set to the int
return_result [Godi_script]
Returns the modified state where the result is set
run_test [Godi_script]
Runs the executable whose name is stored in the state.
runcmd [Godi_script]
Starts the command, waits for its completion, and returns the exit code.
runcmdf [Godi_script]
Same as runcmd, but accepts a printf-like format string.

S
set_bool_code [Godi_script]
The commandlet that sets the exit code to 0 if the boolean is true, and to 1 if the boolean is false.
set_bool_code_from [Godi_script]
The commandlet that calls the function, and sets the exit code from the boolean result of the function (as set_code_bool).
set_code [Godi_script]
The commandlet that sets the exit code to the passed integer
set_code_from [Godi_script]
The commandlet that calls the function, and sets the exit code from the integer result of the function.

W
write_file [Godi_script]
Writes to the file whose name is passed as first argument the contents passed as second argument.