compiler/vmmarshal

  Source   Edit

Implements marshaling for the VM.

Procs

proc loadAny(s: string; t: PType; cache: IdentCache; conf: ConfigRef;
             idgen: IdGenerator): PNode {....raises: [IOError, OSError,
    JsonParsingError, ValueError, Exception, KeyError, ERecoverableError], tags: [
    ReadIOEffect, RootEffect, ReadDirEffect, WriteIOEffect, ReadEnvEffect].}
  Source   Edit
proc storeAny(s: var string; t: PType; a: PNode; conf: ConfigRef) {.
    ...raises: [Exception, KeyError, ValueError, IOError, ERecoverableError], tags: [
    RootEffect, ReadDirEffect, WriteIOEffect, ReadIOEffect, ReadEnvEffect].}
  Source   Edit