compiler/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], 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