Conversions between literal ASTs (PNode) and VM memory. This is the boundary between the compiler and the VM: constants, macro arguments and static parameters are stored into VM memory, results of compile-time evaluation are loaded back into ASTs.
Procs
proc loadValue(vc: ValueConv; src: Address; t: PType; info: TLineInfo): PNode {....raises: [ KeyError, OSError, Exception, ValueError, IOError, ERecoverableError], tags: [ ReadEnvEffect, ReadIOEffect, ReadDirEffect, RootEffect, WriteIOEffect], forbids: [].}
- Reads the value of type t at src and turns it into a literal AST. Source Edit