compiler/ic/cbackend

  Source   Edit

Entry point into the C code generator when rodfiles are used. Instead of invoking the code generator directly, it simply invokes the normal code generation orchestrator for the C backend.

Procs

proc generateCode(g: ModuleGraph) {....raises: [Exception, KeyError, OSError,
    IOError, ERecoverableError, ValueError], tags: [RootEffect, ReadDirEffect,
    ReadEnvEffect, ReadIOEffect, WriteDirEffect, WriteIOEffect, TimeEffect].}
The single entry point, generate C(++) code for the entire Nim program aka ModuleGraph.   Source   Edit