# scriptconfig

Theme:

- Index

Search:
Group by:
Source Edit

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

# Imports

ast, modules, idents, condsyms, options, llstream, vm, vmdef, commands, wordrecg, modulegraphs, pathutils, pipelines

# Procs

    proc runNimScript(cache: IdentCache; scriptName: AbsoluteFile;
                      idgen: IdGenerator; freshDefines = true; conf: ConfigRef;
                      stream: PLLStream) {....raises: [Exception, ValueError, KeyError,
        IOError, ERecoverableError, OSError, EOFError, ESuggestDone], 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