hara.runtime.basic.type-common

*context-options*

dynamic

*program-options*

dynamic

+valid-contexts+

available-runtimes

added in 4.0

(available-runtimes lang)

lists installed runtimes for a language

clear-context-options

added in 4.0

(clear-context-options)(clear-context-options lang)(clear-context-options lang context)(clear-context-options lang context program)

clear entries from the *context-options* structure

get-context-options

added in 4.0

(get-context-options)(get-context-options lang)(get-context-options lang context)(get-context-options lang context program)

gets all or a section of the *context-options* structure

get-options

added in 4.0

(get-options lang context program)

gets merged options for context

get-program-default

added in 4.0

(get-program-default lang context program)

gets the default program

get-program-exec

added in 4.0

(get-program-exec lang context program)

gets running parameters for program

get-program-flags

added in 4.0

(get-program-flags lang program)

gets program flags

get-program-options

added in 4.0

(get-program-options)(get-program-options lang)

gets all program options

program-exists?

added in 4.0

(program-exists? exec)

checks if an executable exists

(program-exists? “gcc”) => true

put-context-options

added in 4.0

(put-context-options [lang context] m)

puts entries into context options

put-program-options

added in 4.0

(put-program-options lang m)

puts configuration into program options

require-runtime!

added in 4.0

(require-runtime! lang context)

loads the runtime implementation if it has been registered

set-context-options

added in 4.0

(set-context-options [lang context program] opts)

sets a entry into context options

swap-program-options

added in 4.0

(swap-program-options lang f & args)

swaps out the program options using a funciotn

valid-context!

added in 4.0

(valid-context! context)

checks that the runtime context is valid