moo.core.code

Development support resources for MOO programs

Functions

compile_verb_code(body, filename)

Take a given piece of verb code and wrap it in a function.

do_eval(code, locals, globals, *args[, ...])

Execute an expression in the provided environment.

get_default_globals()

get_restricted_environment(name, writer)

Construct an environment dictionary.

interpret(source, name, *args[, runtype])

r_eval(src, locals, globals, *args[, filename])

r_exec(src, locals, globals, *args[, filename])

Classes

ContextManager(caller, writer[, task_id, ...])

The ContextManager class is what holds critical per-execution information such as the active user and writer.

TaskTime(elapsed, time_limit, remaining)