# compiler/scriptconfig

Dark Mode

- Index

Search:
Group by:
Source Edit

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

# Imports

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

# Procs

    proc runNimScript(cache: IdentCache; scriptName: AbsoluteFile;
                      idgen: IdGenerator; freshDefines = true; conf: ConfigRef;
                      stream: PLLStream) {....raises: [Exception, ValueError, KeyError,
        OSError, IOError, ERecoverableError, EOFError], tags: [RootEffect,
        ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect, WriteDirEffect].}

  Source Edit

    proc setupVM(module: PSym; cache: IdentCache; scriptName: string;
                 graph: ModuleGraph; idgen: IdGenerator): PEvalContext {....raises: [],
        tags: [].}

  Source Edit