compiler/front/scripting

  Source   Edit

Use Nimskull as a scripting language.

Procs

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