scriptconfig

Source   Edit  

Implements the new configuration system for Nim. Uses Nim as a scripting language.

Procs

proc runNimScript(cache: IdentCache; scriptName: AbsoluteFile;
                  idgen: IdGenerator; freshDefines = true; conf: ConfigRef;
                  stream: PLLStream) {....raises: [Exception, ValueError, KeyError,
    IOError, ERecoverableError, OSError, EOFError, ESuggestDone,
    IllegalTypeRecursionError], tags: [RootEffect, ReadDirEffect, WriteIOEffect,
                                       ReadIOEffect, ReadEnvEffect,
                                       WriteDirEffect, TimeEffect, ExecIOEffect],
                                       forbids: [].}
Source   Edit  
proc setupVM(module: PSym; cache: IdentCache; scriptName: string;
             graph: ModuleGraph; idgen: IdGenerator): PEvalContext {....raises: [],
    tags: [], forbids: [].}
Source   Edit