new .rod file implementation; part 1: writing of the file

This commit is contained in:
Araq 2018-02-15 15:42:14 +01:00
commit f3b8d92216
8 changed files with 594 additions and 8 deletions

View file

@ -16,7 +16,7 @@ import
cgen, jsgen, json, nversion,
platform, nimconf, importer, passaux, depends, vm, vmdef, types, idgen,
docgen2, service, parser, modules, ccgutils, sigmatch, ropes,
modulegraphs, tables
modulegraphs, tables, rod
from magicsys import systemModule, resetSysTypes
@ -157,6 +157,7 @@ proc mainCommand*(graph: ModuleGraph; cache: IdentCache) =
when SimulateCaasMemReset:
gGlobalOptions.incl(optCaasEnabled)
setupModuleCache()
# In "nim serve" scenario, each command must reset the registered passes
clearPasses()
gLastCmdTime = epochTime()