# scriptconfig

Dark Mode

- Index

Search:
Group by:

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 setupVM(module: PSym; cache: IdentCache; scriptName: string;
                 graph: ModuleGraph): PEvalContext {...}{.raises: [OSError, IOError,
        EOFError, ValueError, Exception, ERecoverableError, KeyError], tags: [
        ReadEnvEffect, WriteEnvEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect,
        ExecIOEffect, RootEffect, TimeEffect, WriteDirEffect].}

  Source Edit

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

  Source Edit