/ nimble-windows / @mnimblepkg@snimscriptwrapper.nim.c
@mnimblepkg@snimscriptwrapper.nim.c
   1  /* Generated by Nim Compiler v1.6.11 */
   2  #define NIM_INTBITS 64
   3  
   4  #include "nimbase.h"
   5  #include <string.h>
   6  #undef LANGUAGE_C
   7  #undef MIPSEB
   8  #undef MIPSEL
   9  #undef PPC
  10  #undef R3000
  11  #undef R4000
  12  #undef i386
  13  #undef linux
  14  #undef mips
  15  #undef near
  16  #undef far
  17  #undef powerpc
  18  #undef unix
  19    #  define nimfr_(proc, file) \
  20        TFrame FR_; \
  21        FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_);
  22  
  23    #  define nimfrs_(proc, file, slots, length) \
  24        struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \
  25        FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_);
  26  
  27    #  define nimln_(n, file) \
  28        FR_.line = n; FR_.filename = file;
  29    typedef struct NimStringDesc NimStringDesc;
  30  typedef struct TGenericSeq TGenericSeq;
  31  typedef struct tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ;
  32  typedef struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q;
  33  typedef struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg tyTuple__7q7q3E6Oj24ZNVJb9aonhAg;
  34  typedef struct tyTuple__f6XOx6Jh9bkmpGISrrHtyAg tyTuple__f6XOx6Jh9bkmpGISrrHtyAg;
  35  typedef struct tyObject_Action__Axd3qAbppa2kHdtxRGykNw tyObject_Action__Axd3qAbppa2kHdtxRGykNw;
  36  typedef struct tySequence__kLwf9aGQcuduFr4gekUDa2w tySequence__kLwf9aGQcuduFr4gekUDa2w;
  37  typedef struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ tySequence__sM4lkSb7zS6F7OVMvW9cffQ;
  38  typedef struct tySequence__K2J9a59aomOCxv7VVeiHZfug tySequence__K2J9a59aomOCxv7VVeiHZfug;
  39  typedef struct tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A;
  40  typedef struct tyObject_Config__4CDaXnHluuDhjlvHrDG8RA tyObject_Config__4CDaXnHluuDhjlvHrDG8RA;
  41  typedef struct tyObject_Table__9cUbBDOJGZJU2domnRMqAHQ tyObject_Table__9cUbBDOJGZJU2domnRMqAHQ;
  42  typedef struct tySequence__sQx7tKsP6HE09cszRIkxbdg tySequence__sQx7tKsP6HE09cszRIkxbdg;
  43  typedef struct tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ;
  44  typedef struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q;
  45  typedef struct tyObject_Table__861JQ0xhLIYW2jzxkMweLQ tyObject_Table__861JQ0xhLIYW2jzxkMweLQ;
  46  typedef struct tySequence__v6NVljHM6giAeuZKHEoQNA tySequence__v6NVljHM6giAeuZKHEoQNA;
  47  typedef struct TNimType TNimType;
  48  typedef struct TNimNode TNimNode;
  49  typedef struct tyTuple__XOVT24GHXwqiEj5GCsEGCA tyTuple__XOVT24GHXwqiEj5GCsEGCA;
  50  typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
  51  typedef struct tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ;
  52  typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
  53  typedef struct Exception Exception;
  54  typedef struct RootObj RootObj;
  55  typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
  56  typedef struct tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA;
  57  typedef struct tyObject_Table__qagh2zcXAhSb9aRfetCb26g tyObject_Table__qagh2zcXAhSb9aRfetCb26g;
  58  typedef struct tySequence__JiteSJxrvz63iP2o9bcn2Sg tySequence__JiteSJxrvz63iP2o9bcn2Sg;
  59  typedef struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg;
  60  typedef struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g tySequence__MlAD6nAPq9bHKla9cWiIZP0g;
  61  typedef struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ tySequence__oLpBKXzW3hF9aCVMo5EymfQ;
  62  typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
  63  typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
  64  typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
  65  typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
  66  typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
  67  typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
  68  typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
  69  typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
  70  typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
  71  typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
  72  typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
  73  typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
  74  typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
  75  typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
  76  typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
  77  typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
  78  typedef struct tyTuple__awOivLjlO76sGdHY7nQUjQ tyTuple__awOivLjlO76sGdHY7nQUjQ;
  79  typedef struct tyTuple__gDWaEqPfhOauJWKMBm8bzg tyTuple__gDWaEqPfhOauJWKMBm8bzg;
  80  typedef struct tyObject_VersionRangeObj__FrJQzed5Yezqp6gCbEyg0w tyObject_VersionRangeObj__FrJQzed5Yezqp6gCbEyg0w;
  81  typedef struct tyTuple__7OnuWIzW3xYXy9bIUIvuRmA tyTuple__7OnuWIzW3xYXy9bIUIvuRmA;
  82  typedef struct tyTuple__vQEyvUeZmB7ODgnsZ5BScQ tyTuple__vQEyvUeZmB7ODgnsZ5BScQ;
  83  typedef struct tyObject_PackageList__00UcE13159cf20wGpsHwwMg tyObject_PackageList__00UcE13159cf20wGpsHwwMg;
  84  typedef struct tyTuple__rLNSKSsDc19cDzAtjOZs9cSw tyTuple__rLNSKSsDc19cDzAtjOZs9cSw;
  85  typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
  86  typedef struct tyTuple__g1w83cyyBYiVU9c8WEJWnjQ tyTuple__g1w83cyyBYiVU9c8WEJWnjQ;
  87  struct TGenericSeq {
  88  NI len;
  89  NI reserved;
  90  };
  91  struct NimStringDesc {
  92    TGenericSeq Sup;
  93  NIM_CHAR data[SEQ_DECL_SIZE];
  94  };
  95  struct tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q {
  96  NI64 seconds;
  97  NI nanosecond;
  98  };
  99  struct tyTuple__7q7q3E6Oj24ZNVJb9aonhAg {
 100  NimStringDesc* Field0;
 101  NimStringDesc* Field1;
 102  NimStringDesc* Field2;
 103  };
 104  typedef NimStringDesc* tyArray__Re75IspeoxXy2oCZHwcRrA[2];
 105  typedef NU8 tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA;
 106  typedef NU8 tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ;
 107  typedef NU8 tyEnum_ActionType__w1V3R82mpkCDejycxLFPdg;
 108  struct tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A {
 109  NimStringDesc* val;
 110  NIM_BOOL has;
 111  };
 112  struct tyObject_Action__Axd3qAbppa2kHdtxRGykNw {
 113  tyEnum_ActionType__w1V3R82mpkCDejycxLFPdg typ;
 114  union{
 115  struct {NIM_BOOL listOnly;
 116  } _typ_2;
 117  struct {NimStringDesc* optionalURL;
 118  } _typ_3;
 119  struct {tySequence__kLwf9aGQcuduFr4gekUDa2w* packages;
 120  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* passNimFlags;
 121  tySequence__K2J9a59aomOCxv7VVeiHZfug* devActions;
 122  NimStringDesc* path;
 123  NIM_BOOL noRebuild;
 124  NIM_BOOL withDependencies;
 125  NimStringDesc* developFile;
 126  NIM_BOOL global;
 127  } _typ_4;
 128  struct {tySequence__sM4lkSb7zS6F7OVMvW9cffQ* search;
 129  } _typ_5;
 130  struct {NimStringDesc* projName;
 131  NimStringDesc* vcsOption;
 132  } _typ_6;
 133  struct {NimStringDesc* file;
 134  NimStringDesc* backend;
 135  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* additionalArguments;
 136  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileOptions;
 137  } _typ_7;
 138  struct {tyObject_Option__vK1KzfYf1DGLiUIpLm9cS0A runFile;
 139  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* compileFlags;
 140  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* runFlags;
 141  } _typ_8;
 142  struct {NimStringDesc* command;
 143  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* arguments;
 144  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* custCompileFlags;
 145  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* custRunFlags;
 146  } _typ_9;
 147  struct {NimStringDesc* format;
 148  } _typ_10;
 149  };
 150  };
 151  struct tyObject_Table__9cUbBDOJGZJU2domnRMqAHQ {
 152  tySequence__sQx7tKsP6HE09cszRIkxbdg* data;
 153  NI counter;
 154  };
 155  struct tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ {
 156  NimStringDesc* scheme;
 157  NimStringDesc* username;
 158  NimStringDesc* password;
 159  NimStringDesc* hostname;
 160  NimStringDesc* port;
 161  NimStringDesc* path;
 162  NimStringDesc* query;
 163  NimStringDesc* anchor;
 164  NIM_BOOL opaque;
 165  NIM_BOOL isIpv6;
 166  };
 167  struct tyObject_Config__4CDaXnHluuDhjlvHrDG8RA {
 168  NimStringDesc* nimbleDir;
 169  NIM_BOOL chcp;
 170  tyObject_Table__9cUbBDOJGZJU2domnRMqAHQ packageLists;
 171  NIM_BOOL cloneUsingHttps;
 172  tyObject_Uri__j49bukNPrq747O1GRd4Ng9bQ httpProxy;
 173  };
 174  typedef NU8 tyEnum_DumpMode__lrp4056pVLtFZp9cfnP5HtA;
 175  struct tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ {
 176  tyEnum_ForcePrompt__djMIU0KJ4yj4ST3o49caOhA forcePrompts;
 177  NIM_BOOL depsOnly;
 178  NIM_BOOL uninstallRevDeps;
 179  NIM_BOOL queryVersions;
 180  NIM_BOOL queryInstalled;
 181  NimStringDesc* nimbleDir;
 182  tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ verbosity;
 183  tyObject_Action__Axd3qAbppa2kHdtxRGykNw action;
 184  tyObject_Config__4CDaXnHluuDhjlvHrDG8RA config;
 185  tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* nimbleData;
 186  tyObject_Table__861JQ0xhLIYW2jzxkMweLQ* pkgInfoCache;
 187  NIM_BOOL showHelp;
 188  NimStringDesc* lockFileName;
 189  NIM_BOOL showVersion;
 190  NIM_BOOL offline;
 191  NIM_BOOL noColor;
 192  NIM_BOOL disableValidation;
 193  NIM_BOOL continueTestsOnFailure;
 194  NIM_BOOL forceFullClone;
 195  tySequence__v6NVljHM6giAeuZKHEoQNA* unknownFlags;
 196  tyEnum_DumpMode__lrp4056pVLtFZp9cfnP5HtA dumpMode;
 197  NimStringDesc* startDir;
 198  NimStringDesc* nim;
 199  NIM_BOOL localdeps;
 200  NIM_BOOL developLocaldeps;
 201  NIM_BOOL disableSslCertCheck;
 202  NIM_BOOL enableTarballs;
 203  NimStringDesc* task;
 204  NimStringDesc* package;
 205  };
 206  typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
 207  typedef NimStringDesc* tyArray__DLxB9cOndPvLDyky9bY9ccM3g[7];
 208  typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
 209  typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
 210  typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
 211  typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
 212  struct TNimType {
 213  NI size;
 214  NI align;
 215  tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
 216  tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
 217  TNimType* base;
 218  TNimNode* node;
 219  void* finalizer;
 220  tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
 221  tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
 222  };
 223  typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
 224  struct TNimNode {
 225  tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
 226  NI offset;
 227  TNimType* typ;
 228  NCSTRING name;
 229  NI len;
 230  TNimNode** sons;
 231  };
 232  struct tyTuple__f6XOx6Jh9bkmpGISrrHtyAg {
 233  NimStringDesc* Field0;
 234  NI Field1;
 235  NimStringDesc* Field2;
 236  };
 237  struct tyTuple__XOVT24GHXwqiEj5GCsEGCA {
 238  NimStringDesc* Field0;
 239  NI Field1;
 240  };
 241  typedef NU8 tySet_tyEnum_ProcessOption__bnU6W8LhTMnT4JaSWtGlSA;
 242  typedef NU8 tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA;
 243  struct RootObj {
 244  TNimType* m_type;
 245  };
 246  struct Exception {
 247    RootObj Sup;
 248  Exception* parent;
 249  NCSTRING name;
 250  NimStringDesc* message;
 251  tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
 252  Exception* up;
 253  };
 254  struct tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA {
 255  NIM_BOOL success;
 256  NimStringDesc* command;
 257  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* arguments;
 258  tyObject_Table__qagh2zcXAhSb9aRfetCb26g* flags;
 259  NIM_BOOL retVal;
 260  NimStringDesc* stdout_0;
 261  };
 262  struct tyObject_Table__qagh2zcXAhSb9aRfetCb26g {
 263  tySequence__JiteSJxrvz63iP2o9bcn2Sg* data;
 264  NI counter;
 265  };
 266  typedef NU8 tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg;
 267  struct tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg {
 268  tySequence__MlAD6nAPq9bHKla9cWiIZP0g* data;
 269  NI counter;
 270  NI first;
 271  NI last;
 272  };
 273  struct tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q {
 274  NIM_BOOL isUnquoted;
 275  tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg kind;
 276  union{
 277  struct {NimStringDesc* str;
 278  } _kind_1;
 279  struct {NI64 num;
 280  } _kind_2;
 281  struct {NF fnum;
 282  } _kind_3;
 283  struct {NIM_BOOL bval;
 284  } _kind_4;
 285  struct {tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg fields;
 286  } _kind_6;
 287  struct {tySequence__oLpBKXzW3hF9aCVMo5EymfQ* elems;
 288  } _kind_7;
 289  };
 290  };
 291  struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
 292  NI refcount;
 293  TNimType* typ;
 294  };
 295  struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
 296  void* bottom;
 297  };
 298  struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
 299  NI len;
 300  NI cap;
 301  tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
 302  };
 303  typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
 304  typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
 305  typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
 306  typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
 307  typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
 308  struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
 309  tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
 310  };
 311  typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
 312  struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
 313  tyArray__0aOLqZchNi8nWtMTi8ND8w link;
 314  NI key;
 315  NI upperBound;
 316  NI level;
 317  };
 318  struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
 319  tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
 320  NI Field1;
 321  };
 322  typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
 323  struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
 324  NI len;
 325  tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
 326  tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
 327  };
 328  struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
 329  NI minLargeObj;
 330  NI maxLargeObj;
 331  tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
 332  NU32 flBitmap;
 333  tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
 334  tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
 335  tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
 336  NI currMem;
 337  NI maxMem;
 338  NI freeMem;
 339  NI occ;
 340  NI lastSize;
 341  tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
 342  tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
 343  tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
 344  tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
 345  tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
 346  NIM_BOOL locked;
 347  NIM_BOOL blockChunkSizeIncrease;
 348  NI nextChunkSize;
 349  tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
 350  tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
 351  };
 352  struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
 353  NI stackScans;
 354  NI cycleCollections;
 355  NI maxThreshold;
 356  NI maxStackSize;
 357  NI maxStackCells;
 358  NI cycleTableSize;
 359  NI64 maxPause;
 360  };
 361  struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
 362  NI counter;
 363  NI max;
 364  tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
 365  tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
 366  };
 367  struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
 368  tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
 369  NI cycleThreshold;
 370  NI zctThreshold;
 371  tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
 372  tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
 373  tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
 374  NI recGcLock;
 375  tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
 376  tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
 377  tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
 378  tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
 379  NI gcThreadId;
 380  };
 381  struct tyTuple__awOivLjlO76sGdHY7nQUjQ {
 382  NI Field0;
 383  NI Field1;
 384  NimStringDesc* Field2;
 385  tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* Field3;
 386  };
 387  struct tyTuple__gDWaEqPfhOauJWKMBm8bzg {
 388  NimStringDesc* Field0;
 389  tyObject_VersionRangeObj__FrJQzed5Yezqp6gCbEyg0w* Field1;
 390  };
 391  typedef NU8 tyEnum_DevelopActionType__x2ItfH5czqSlrOttkAoYOQ;
 392  struct tyTuple__7OnuWIzW3xYXy9bIUIvuRmA {
 393  tyEnum_DevelopActionType__x2ItfH5czqSlrOttkAoYOQ Field0;
 394  NimStringDesc* Field1;
 395  };
 396  struct tyObject_PackageList__00UcE13159cf20wGpsHwwMg {
 397  NimStringDesc* name;
 398  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* urls;
 399  NimStringDesc* path;
 400  };
 401  struct tyTuple__vQEyvUeZmB7ODgnsZ5BScQ {
 402  NI Field0;
 403  NimStringDesc* Field1;
 404  tyObject_PackageList__00UcE13159cf20wGpsHwwMg Field2;
 405  };
 406  typedef NU8 tyEnum_CmdLineKind__XkdXq9atxjiuhkFFh0XYrSA;
 407  struct tyTuple__rLNSKSsDc19cDzAtjOZs9cSw {
 408  tyEnum_CmdLineKind__XkdXq9atxjiuhkFFh0XYrSA Field0;
 409  NimStringDesc* Field1;
 410  NimStringDesc* Field2;
 411  };
 412  struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {
 413  NCSTRING procname;
 414  NI line;
 415  NCSTRING filename;
 416  };
 417  struct tyTuple__g1w83cyyBYiVU9c8WEJWnjQ {
 418  NI Field0;
 419  NimStringDesc* Field1;
 420  tySequence__sM4lkSb7zS6F7OVMvW9cffQ* Field2;
 421  };
 422  struct tySequence__sM4lkSb7zS6F7OVMvW9cffQ {
 423    TGenericSeq Sup;
 424    NimStringDesc* data[SEQ_DECL_SIZE];
 425  };
 426  struct tySequence__oLpBKXzW3hF9aCVMo5EymfQ {
 427    TGenericSeq Sup;
 428    tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* data[SEQ_DECL_SIZE];
 429  };
 430  struct tySequence__kLwf9aGQcuduFr4gekUDa2w {
 431    TGenericSeq Sup;
 432    tyTuple__gDWaEqPfhOauJWKMBm8bzg data[SEQ_DECL_SIZE];
 433  };
 434  struct tySequence__K2J9a59aomOCxv7VVeiHZfug {
 435    TGenericSeq Sup;
 436    tyTuple__7OnuWIzW3xYXy9bIUIvuRmA data[SEQ_DECL_SIZE];
 437  };
 438  struct tySequence__sQx7tKsP6HE09cszRIkxbdg {
 439    TGenericSeq Sup;
 440    tyTuple__vQEyvUeZmB7ODgnsZ5BScQ data[SEQ_DECL_SIZE];
 441  };
 442  struct tySequence__v6NVljHM6giAeuZKHEoQNA {
 443    TGenericSeq Sup;
 444    tyTuple__rLNSKSsDc19cDzAtjOZs9cSw data[SEQ_DECL_SIZE];
 445  };
 446  struct tySequence__uB9b75OUPRENsBAu4AnoePA {
 447    TGenericSeq Sup;
 448    tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];
 449  };
 450  struct tySequence__JiteSJxrvz63iP2o9bcn2Sg {
 451    TGenericSeq Sup;
 452    tyTuple__g1w83cyyBYiVU9c8WEJWnjQ data[SEQ_DECL_SIZE];
 453  };
 454  struct tySequence__MlAD6nAPq9bHKla9cWiIZP0g {
 455    TGenericSeq Sup;
 456    tyTuple__awOivLjlO76sGdHY7nQUjQ data[SEQ_DECL_SIZE];
 457  };
 458  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimsFile__nimblepkgZnimscriptwrapper_72)(NimStringDesc* scriptName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options);
 459  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, absolutePath__pureZos_857)(NimStringDesc* path, NimStringDesc* root);
 460  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetCurrentDir)(void);
 461  N_LIB_PRIVATE N_NIMCALL(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q, nosgetLastModificationTime)(NimStringDesc* file);
 462  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetAppFilename)(void);
 463  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimblecache__nimblepkgZnimscriptwrapper_42)(void);
 464  static N_INLINE(NimStringDesc*, slash___pureZos_118)(NimStringDesc* head, NimStringDesc* tail);
 465  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosjoinPath)(NimStringDesc* head, NimStringDesc* tail);
 466  static N_INLINE(void, nimFrame)(TFrame* s);
 467  N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_2999)(void);
 468  static N_INLINE(void, popFrame)(void);
 469  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosgetTempDir)(void);
 470  static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
 471  static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
 472  static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
 473  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___systemZdollars_3)(NI x);
 474  N_LIB_PRIVATE N_NIMCALL(NI, hash__pureZhashes_279)(NimStringDesc* x);
 475  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getEnv__pureZos_489)(NimStringDesc* key, NimStringDesc* default_0);
 476  N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
 477  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
 478  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___pureZtimes_3272)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q time);
 479  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosaddFileExt)(NimStringDesc* filename, NimStringDesc* ext);
 480  N_LIB_PRIVATE N_NIMCALL(void, nossplitFile)(NimStringDesc* path, tyTuple__7q7q3E6Oj24ZNVJb9aonhAg* Result);
 481  static N_INLINE(void, nimZeroMem)(void* p, NI size);
 482  static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size);
 483  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, noschangeFileExt)(NimStringDesc* filename, NimStringDesc* ext);
 484  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosextractFilename)(NimStringDesc* path);
 485  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nosfileExists)(NimStringDesc* filename);
 486  N_LIB_PRIVATE N_NIMCALL(void, noscreateDir)(NimStringDesc* dir);
 487  N_LIB_PRIVATE N_NIMCALL(void, writeFile__systemZio_567)(NimStringDesc* filename, NimStringDesc* content);
 488  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nosparentDir)(NimStringDesc* path);
 489  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuFormatOpenArray)(NimStringDesc* formatstr, NimStringDesc** a, NI aLen_0);
 490  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuReplaceStr)(NimStringDesc* s, NimStringDesc* sub, NimStringDesc* by);
 491  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, nostryRemoveFile)(NimStringDesc* file);
 492  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
 493  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ntLtTime)(tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q a, tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q b);
 494  N_LIB_PRIVATE N_NIMCALL(void, execNimscript__nimblepkgZnimscriptwrapper_44)(NimStringDesc* nimbleFile, NimStringDesc* nimsFile, NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NIM_BOOL isHook, tyTuple__f6XOx6Jh9bkmpGISrrHtyAg* Result);
 495  N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
 496  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimbleTempDir__nimblepkgZtools_120)(void);
 497  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isCustomTask__nimblepkgZnimscriptwrapper_26)(NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options);
 498  static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
 499  static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size);
 500  static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size);
 501  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuJoinSep)(NimStringDesc** a, NI aLen_0, NimStringDesc* sep);
 502  N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ*, getCompilationFlags__nimblepkgZoptions_2246)(tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options);
 503  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuStrip)(NimStringDesc* s, NIM_BOOL leading, NIM_BOOL trailing, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw chars);
 504  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nospquoteShell)(NimStringDesc* s);
 505  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimBin__nimblepkgZoptions_272)(tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options);
 506  N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError2)(NimStringDesc* f, NimStringDesc* discVal);
 507  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprDiscriminant)(NI e, TNimType* typ);
 508  N_LIB_PRIVATE N_NOINLINE(void, raiseIndexError2)(NI i, NI n);
 509  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
 510  N_LIB_PRIVATE N_NIMCALL(void, failedAssertImpl__systemZassertions_56)(NimStringDesc* msg);
 511  N_LIB_PRIVATE N_NIMCALL(void, displayDebug__nimblepkgZcli_697)(NimStringDesc* msg);
 512  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, needsLiveOutput__nimblepkgZnimscriptwrapper_34)(NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NIM_BOOL isHook);
 513  N_LIB_PRIVATE N_NIMCALL(NI, nospexecCmd)(NimStringDesc* command);
 514  N_LIB_PRIVATE N_NIMCALL(void, execCmdEx__pureZosproc_1135)(NimStringDesc* command, tySet_tyEnum_ProcessOption__bnU6W8LhTMnT4JaSWtGlSA options, tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* env, NimStringDesc* workingDir, NimStringDesc* input, tyTuple__XOVT24GHXwqiEj5GCsEGCA* Result);
 515  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, readFile__systemZio_562)(NimStringDesc* filename);
 516  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, shouldRemoveTmp__nimblepkgZoptions_2229)(tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NimStringDesc* file);
 517  N_LIB_PRIVATE N_NIMCALL(void, writeExecutionOutput__nimblepkgZnimscriptwrapper_40)(NimStringDesc* data);
 518  N_LIB_PRIVATE N_NIMCALL(void, display__nimblepkgZcli_156)(NimStringDesc* category, NimStringDesc* msg, tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA displayType, tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ priority);
 519  N_LIB_PRIVATE N_NIMCALL(tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ*, nimbleError__nimblepkgZcommon_26)(NimStringDesc* msg, NimStringDesc* hint, tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA* details);
 520  N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
 521  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nsuToLowerAsciiStr)(NimStringDesc* s);
 522  N_LIB_PRIVATE N_NIMCALL(void, execScript__nimblepkgZnimscriptwrapper_103)(NimStringDesc* scriptName, NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NIM_BOOL isHook, tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA* Result);
 523  N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, parseJson__pureZjson_5296)(NimStringDesc* buffer, NIM_BOOL rawIntegers, NIM_BOOL rawFloats);
 524  N_LIB_PRIVATE N_NIMCALL(tyObject_Table__qagh2zcXAhSb9aRfetCb26g*, newTable__pureZhttpcore_120)(NI initialSize);
 525  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, getBool__pureZjson_189)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n, NIM_BOOL default_0);
 526  N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X7BX7D___pureZjson_3606)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* key);
 527  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getStr__pureZjson_148)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* n, NimStringDesc* default_0);
 528  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, contains__pureZjson_3248)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* key);
 529  static N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X5BX5D___pureZjson_3073)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* name);
 530  N_LIB_PRIVATE N_NIMCALL(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**, X5BX5D___pureZjson_2667)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t, NimStringDesc* key);
 531  N_LIB_PRIVATE N_NIMCALL(TGenericSeq*, incrSeqV3)(TGenericSeq* s, TNimType* typ);
 532  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
 533  static N_INLINE(void, nimGCunrefNoCycle)(void* p);
 534  static N_INLINE(void, decRef__system_5399)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
 535  static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
 536  static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
 537  static N_INLINE(void, rtlAddZCT__system_5397)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
 538  N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5348)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
 539  static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5354)(void* usr);
 540  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e, TNimType* typ);
 541  static N_INLINE(NI, len__pureZjson_2169)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t);
 542  static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode);
 543  N_LIB_PRIVATE N_NIMCALL(void, X5BX5Deq___pureZhttpcore_2122)(tyObject_Table__qagh2zcXAhSb9aRfetCb26g* t, NimStringDesc* key, tySequence__sM4lkSb7zS6F7OVMvW9cffQ* val);
 544  N_LIB_PRIVATE N_NIMCALL(tySequence__sM4lkSb7zS6F7OVMvW9cffQ**, X5BX5D___pureZhttpcore_1883)(tyObject_Table__qagh2zcXAhSb9aRfetCb26g* t, NimStringDesc* key);
 545  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_2, "nimblecache-", 12);
 546  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_3, "USER", 4);
 547  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_4, "nimscriptapi_", 13);
 548  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_5, "nim", 3);
 549  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_6, "_", 1);
 550  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_7, "nims", 4);
 551  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_8, "ini", 3);
 552  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_9, "# Copyright (C) Dominik Picheta. All rights reserved.\012# BSD License. Look at license.txt for more info.\012\012## This module is implicitly imported in NimScript .nimble files.\012\012import system except getCommand, setCommand, switch, `--`\012import strformat, strutils, tables, sequtils\012export tables\012\012when (NimMajor, NimMinor) < (1, 3):\012  when not defined(nimscript):\012    import os\012else:\012  import os\012\012var\012  packageName* = \"\"    ## Set this to the package name. It\012                       ## is usually not required to do that, nims\' filename is\012                       ## the default.\012  version*: string     ## The package\'s version.\012  author*: string      ## The package\'s author.\012  description*: string ## The package\'s description.\012  license*: string     ## The package\'s license.\012  srcDir*: string      ## The package\'s source directory.\012  binDir*: string      ## The package\'s binary directory.\012  backend*: string     ## The package\'s backend.\012\012  skipDirs*, skipFiles*, skipExt*, installDirs*, installFiles*,\012    installExt*, bin*: seq[string] = @[] ## Nimble metadata.\012  requiresData*: seq[string] = @[] ## The package\'s dependencies.\012  taskRequiresData*: Table[string, seq[string]] ## Task dependencies\012  foreignDeps*: seq[string] = @[] ## The foreign dependencies. Only\012                                  ## exported for \'distros.nim\'.\012\012  nimbleTasks: seq[tuple[name, description: string]] = @[]\012  beforeHooks: seq[string] = @[]\012  afterHooks: seq[string] = @[]\012  flags: Table[string, seq[string]]\012  namedBin*: Table[string, string]\012\012  command = \"e\"\012  project = \"\"\012  success = false\012  retVal = true\012\012proc requires*(deps: varargs[string]) =\012  ## Call this to set the list of requirements of your Nimble\012  ## package.\012  for d in deps: requiresData.add(d)\012\012proc taskRequires*(task: string, deps: varargs[string]) =\012  ## Call this to set the list of requirements for a certain task\012  if task notin taskRequiresData:\012    taskRequiresData[task] = @[]\012  for d in deps:\012    taskRequiresData[task] &= d\012\012proc getParams(): tuple[scriptFile, projectFile, outFile, actionName: string,\012                        commandLineParams: seq[string]] =\012  # Called by nimscriptwrapper.nim:execNimscript()\012  #   nim e --flags /full/path/to/file.nims /full/path/to/file.nimble /full/path/to/file.out action\012  for i in 2 .. paramCount():\012    let\012      param = paramStr(i)\012    if param[0] != \'-\':\012      if result.scriptFile.len == 0:\012        result.scriptFile = param\012      elif result.projectFile.len == 0:\012        result.projectFile = param\012      elif result.outFile.len == 0:\012        result.outFile = param\012      elif result.actionName.len == 0:\012        result.actionName = param.normalize\012      else:\012        result.commandLineParams.add param\012    else:\012      result.commandLineParams.add param\012\012const\012  # Command line values are const so that thisDir() works at compile time\012  (scriptFile, projectFile, outFile, actionName, commandLineParams*) = getParams()\012\012proc getCommand*(): string =\012  return command\012\012proc setCommand*(cmd: string, prj = \"\") =\012  command = cmd\012  if prj.len != 0:\012    project = prj\012\012proc switch*(key: string, value=\"\") =\012  if flags.hasKey(key):\012    flags[key].add(value)\012  else:\012    flags[key] = @[value]\012\012template `--`*(key, val: untyped) =\012  switch(astToStr(key), strip astToStr(val))\012\012template `--`*(key: untyped) =\012  switch(astToStr(key), \"\")\012\012template printIfLen(varName) =\012  if varName.len != 0:\012    result &= astToStr(varName) & \": \\\"\\\"\\\"\" & varName & \"\\\"\\\"\\\"\\n\"\012\012template printSeqIfLen(name: string, varName: untyped) =\012  if varName.len != 0:\012    result &= name & \": \\\"\" & varName.join(\", \") & \"\\\"\\n\"\012\012template printSeqIfLen(varName) =\012  printSeqIfLen(astToStr(varName), varName)\012\012proc printPkgInfo(): string =\012  if backend.len == 0:\012    backend = \"c\"\012\012  # Forward `namedBin` entries in `bin`\012  for k, v in namedBin:\012    let idx = bin.find(k)\012    if idx == -1:\012      bin.add k & \"=\" & v\012    else:\012      bin[idx] = k & \"=\" & v\012\012  result = \"[Package]\\n\"\012  if packageName.len != 0:\012    result &= \"name: \\\"\" & packageName & \"\\\"\\n\"\012  printIfLen version\012  printIfLen author\012  printIfLen description\012  printIfLen license\012  printIfLen srcDir\012  printIfLen binDir\012  printIfLen backend\012\012  printSeqIfLen skipDirs\012  printSeqIfLen skipFiles\012  printSeqIfLen skipExt\012  printSeqIfLen installDirs\012  printSeqIfLen installFiles\012  printSeqIfLen installExt\012  printSeqIfLen bin\012  printSeqIfLen \"nimbleTasks\", nimbleTasks.unzip()[0]\012  printSeqIfLen beforeHooks\012  printSeqIfLen afterHooks\012\012  if requiresData.len != 0 or taskRequiresData.len != 0:\012    result &= \"\\n[Deps]\\n\"\012    # Write package level dependencies\012    if requiresData.len != 0:\012      result &= &\"requires: \\\"{requiresData.join(\\\", \\\")}\\\"\\n\"\012    # Write task level dependencies\012    for task, requiresData in taskRequiresData.pairs:\012      result &= &\"{task}Requires: \\\"{requiresData.join(\\\", \\\")}\\\"\\n\"\012\012\012proc onExit*() =\012  if actionName.len == 0 or actionName == \"help\":\012    var maxNameLen = 8\012    for (name, _) in nimbleTasks:\012      maxNameLen = max(maxNameLen, name.len)\012    for (name, description) in nimbleTasks:\012      echo alignLeft(name, maxNameLen + 2), description\012\012  if \"printPkgInfo\".normalize == actionName:\012    if outFile.len != 0:\012      writeFile(outFile, printPkgInfo())\012  else:\012    var\012      output = \"\"\012    output &= \"\\\"success\\\": \" & $success & \", \"\012    output &= \"\\\"command\\\": \\\"\" & command & \"\\\", \"\012    if project.len != 0:\012      output &= \"\\\"project\\\": \\\"\" & project & \"\\\", \"\012    if flags.len != 0:\012      output &= \"\\\"flags\\\": {\"\012      for key, val in flags.pairs:\012        output &= \"\\\"\" & key & \"\\\": [\"\012        for v in val:\012          let v = if v.len > 0 and v[0] == \'\"\': strutils.unescape(v)\012                  else: v\012          output &= v.escape & \", \"\012        output = output[0 .. ^3] & \"], \"\012      output = output[0 .. ^3] & \"}, \"\012\012    output &= \"\\\"retVal\\\": \" & $retVal\012\012    if outFile.len != 0:\012      writeFile(outFile, \"{\" & output & \"}\")\012\012# TODO: New release of Nim will move this `task` template under a\012# `when not defined(nimble)`. This will allow us to override it in the future.\012template task*(name: untyped; description: string; body: untyped): untyped =\012  ## Defines a task. Hidden tasks are supported via an empty description.\012  ## Example:\012  ##\012  ## .. code-block:: nim\012  ##  task build, \"default build is via the C backend\":\012  ##    setCommand \"c\"\012  proc `name Task`*() = body\012\012  nimbleTasks.add (astToStr(name), description)\012  \012  if actionName.len == 0 or actionName == \"help\":\012    success = true\012  elif actionName == astToStr(name).normalize:\012    success = true\012    `name Task`()\012\012template before*(action: untyped, body: untyped): untyped =\012  ## Defines a block of code which is evaluated before ``action`` is executed.\012  proc `action Before`*(): bool =\012    result = true\012    body\012\012  beforeHooks.add astToStr(action)\012\012  if (astToStr(action) & \"Before\").normalize == actionName:\012    success = true\012    retVal = `action Before`()\012\012template after*(action: untyped, body: untyped): untyped =\012  ## Defines a block of code which is evaluated after ``action`` is executed.\012  proc `action After`*(): bool =\012    result = true\012    body\012\012  afterHooks.add astToStr(action)\012\012  if (astToStr(action) & \"After\").normalize == actionName:\012    success = true\012    retVal = `action After`()\012\012proc getPkgDir*(): string =\012  ## Returns the package directory containing the .nimble file currently\012  ## being evaluated.\012  result = projectFile.rsplit(seps={\'/\', \'\\\\\', \':\'}, maxsplit=1)[0]\012\012proc thisDir*(): string = getPkgDir()\012", 7479);
 553  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_10, "import system except getCommand, setCommand, switch, `--`, thisDir,\012  packageName, version, author, description, license, srcDir, binDir, backend,\012  skipDirs, skipFiles, skipExt, installDirs, installFiles, installExt, bin, foreignDeps,\012  requires, task, packageName\012\012import strutils\012import \"$1\"\012include \"$2\"\012\012onExit()\012", 318);
 554  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_11, "\\", 1);
 555  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_12, "/", 1);
 556  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_13, ".ini", 4);
 557  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_14, ".out", 4);
 558  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_15, "printPkgInfo", 12);
 559  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_16, " ", 1);
 560  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_17, "$# e $# --colors:on $# $# $# $# $#", 34);
 561  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_18, "--hints:off --verbosity:0", 25);
 562  static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__PUcv9cmWFUbRqCh9ctEyhSMQ_19 = {
 563  0x00, 0x3e, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,
 564  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 565  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
 566  0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
 567  ;
 568  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_20, "field \'arguments\' is not accessible for type \'Action\' using \'typ = ", 67);
 569  extern TNimType NTIactiontype__w1V3R82mpkCDejycxLFPdg_;
 570  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_22, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim(240, 11) `len(a) == L` the length of the seq changed while iterating over it", 154);
 571  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_23, "field \'custRunFlags\' is not accessible for type \'Action\' using \'typ = ", 70);
 572  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_24, "Executing ", 10);
 573  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_25, "Info", 4);
 574  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_26, "\012printPkgInfo() failed", 22);
 575  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_27, "Before", 6);
 576  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_28, "After", 5);
 577  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_29, "Attempting", 10);
 578  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_30, "to execute hook $# in $#", 24);
 579  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_31, "Exception raised during nimble script execution", 47);
 580  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_32, "{}", 2);
 581  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_33, "success", 7);
 582  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_34, "command", 7);
 583  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_35, "project", 7);
 584  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_36, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim(513, 9) `not isNil(node)` ", 97);
 585  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_37, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim(514, 9) `node.kind == JObject` ", 102);
 586  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_38, "field \'fields\' is not accessible for type \'JsonNodeObj\' using \'kind = ", 70);
 587  extern TNimType NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_;
 588  extern TNimType NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_;
 589  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_39, "flags", 5);
 590  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_40, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim(837, 10) `node.kind == JObject` : pairs() can not iterate a JsonNode of kind ", 148);
 591  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_41, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim(824, 10) `node.kind == JArray` : items() can not iterate a JsonNode of kind ", 147);
 592  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_42, "field \'elems\' is not accessible for type \'JsonNodeObj\' using \'kind = ", 69);
 593  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_44, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim(1720, 11) `len(t) == L` the length of the table changed while iterating over it", 164);
 594  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_45, "retVal", 6);
 595  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_46, "Executing", 9);
 596  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_47, "task $# in $#", 13);
 597  STRING_LITERAL(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_48, "e", 1);
 598  extern TFrame* framePtr__system_2566;
 599  extern TFrame* framePtr__system_2566;
 600  extern TFrame* framePtr__system_2566;
 601  extern TFrame* framePtr__system_2566;
 602  extern TFrame* framePtr__system_2566;
 603  extern TFrame* framePtr__system_2566;
 604  extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5301;
 605  static N_INLINE(void, nimFrame)(TFrame* s) {
 606  	{
 607  		if (!(framePtr__system_2566 == ((TFrame*) NIM_NIL))) goto LA3_;
 608  		(*s).calldepth = ((NI16) 0);
 609  	}
 610  	goto LA1_;
 611  	LA3_: ;
 612  	{
 613  		(*s).calldepth = (NI16)((*framePtr__system_2566).calldepth + ((NI16) 1));
 614  	}
 615  	LA1_: ;
 616  	(*s).prev = framePtr__system_2566;
 617  	framePtr__system_2566 = s;
 618  	{
 619  		if (!((*s).calldepth == ((NI16) 2000))) goto LA8_;
 620  		callDepthLimitReached__system_2999();
 621  	}
 622  	LA8_: ;
 623  }
 624  static N_INLINE(void, popFrame)(void) {
 625  	framePtr__system_2566 = (*framePtr__system_2566).prev;
 626  }
 627  static N_INLINE(NimStringDesc*, slash___pureZos_118)(NimStringDesc* head, NimStringDesc* tail) {
 628  	NimStringDesc* result;
 629  	nimfr_("/", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/os.nim");
 630  	result = NIM_NIL;
 631  	nimln_(234, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/os.nim");
 632  	result = nosjoinPath(head, tail);
 633  	popFrame();
 634  	return result;
 635  }
 636  static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
 637  	void* T1_;
 638  	T1_ = (void*)0;
 639  	T1_ = memcpy(dest, source, ((size_t) (size)));
 640  }
 641  static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
 642  	nimCopyMem(dest, source, size);
 643  }
 644  static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
 645  	{
 646  		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
 647  		copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
 648  		(*dest).Sup.len += (*src).Sup.len;
 649  	}
 650  	LA3_: ;
 651  }
 652  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimblecache__nimblepkgZnimscriptwrapper_42)(void) {
 653  	NimStringDesc* result;
 654  	NimStringDesc* T1_;
 655  	NimStringDesc* T2_;
 656  	NimStringDesc* T3_;
 657  	NimStringDesc* T4_;
 658  	NI T5_;
 659  	NimStringDesc* T6_;
 660  	nimfr_("getNimblecache", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 661  	result = NIM_NIL;
 662  	nimln_(39, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 663  	T1_ = NIM_NIL;
 664  	T2_ = NIM_NIL;
 665  	T2_ = nosgetTempDir();
 666  	T3_ = NIM_NIL;
 667  	T3_ = slash___pureZos_118(T2_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_2));
 668  	T4_ = NIM_NIL;
 669  	T4_ = getEnv__pureZos_489(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_3), ((NimStringDesc*) NIM_NIL));
 670  	T5_ = (NI)0;
 671  	T5_ = hash__pureZhashes_279(T4_);
 672  	if (T5_ == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); }
 673  	T6_ = NIM_NIL;
 674  	T6_ = dollar___systemZdollars_3((T5_ > 0? (T5_) : -(T5_)));
 675  	T1_ = rawNewString((T3_ ? T3_->Sup.len : 0) + (T6_ ? T6_->Sup.len : 0) + 0);
 676  appendString(T1_, T3_);
 677  appendString(T1_, T6_);
 678  	result = T1_;
 679  	popFrame();
 680  	return result;
 681  }
 682  static N_INLINE(void, nimSetMem__systemZmemory_7)(void* a, int v, NI size) {
 683  	void* T1_;
 684  	T1_ = (void*)0;
 685  	T1_ = memset(a, v, ((size_t) (size)));
 686  }
 687  static N_INLINE(void, nimZeroMem)(void* p, NI size) {
 688  	nimSetMem__systemZmemory_7(p, ((int) 0), size);
 689  }
 690  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getNimsFile__nimblepkgZnimscriptwrapper_72)(NimStringDesc* scriptName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options) {
 691  	NimStringDesc* result;
 692  	NimStringDesc* scriptName_2;
 693  	NimStringDesc* T1_;
 694  	tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q nimbleLastModified;
 695  	NimStringDesc* T2_;
 696  	NimStringDesc* cacheDir;
 697  	NimStringDesc* nhash;
 698  	NimStringDesc* T3_;
 699  	NI T4_;
 700  	NimStringDesc* nimscriptApiFile;
 701  	NimStringDesc* T5_;
 702  	NimStringDesc* T6_;
 703  	NimStringDesc* shash;
 704  	NimStringDesc* T7_;
 705  	NimStringDesc* T8_;
 706  	NI T9_;
 707  	NimStringDesc* prjCacheDir;
 708  	NimStringDesc* T10_;
 709  	tyTuple__7q7q3E6Oj24ZNVJb9aonhAg T11_;
 710  	NimStringDesc* T12_;
 711  	NimStringDesc* nimsFile;
 712  	NimStringDesc* T13_;
 713  	NimStringDesc* T14_;
 714  	NimStringDesc* iniFile;
 715  	nimfr_("getNimsFile", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 716  	result = NIM_NIL;
 717  	nimln_(83, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 718  	nimln_(1441, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/os.nim");
 719  	T1_ = NIM_NIL;
 720  	T1_ = nosgetCurrentDir();
 721  	nimln_(83, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 722  	scriptName_2 = absolutePath__pureZos_857(scriptName, T1_);
 723  	nimln_(85, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 724  	T2_ = NIM_NIL;
 725  	T2_ = nosgetAppFilename();
 726  	nimbleLastModified = nosgetLastModificationTime(T2_);
 727  	nimln_(86, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 728  	cacheDir = getNimblecache__nimblepkgZnimscriptwrapper_42();
 729  	nimln_(89, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 730  	T3_ = NIM_NIL;
 731  	T3_ = dollar___pureZtimes_3272(nimbleLastModified);
 732  	T4_ = (NI)0;
 733  	T4_ = hash__pureZhashes_279(T3_);
 734  	if (T4_ == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); }
 735  	nhash = dollar___systemZdollars_3((T4_ > 0? (T4_) : -(T4_)));
 736  	nimln_(90, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 737  	T5_ = NIM_NIL;
 738  	T5_ = rawNewString((nhash ? nhash->Sup.len : 0) + 13);
 739  appendString(T5_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_4));
 740  appendString(T5_, nhash);
 741  	T6_ = NIM_NIL;
 742  	T6_ = nosaddFileExt(T5_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_5));
 743  	nimscriptApiFile = slash___pureZos_118(cacheDir, T6_);
 744  	nimln_(93, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 745  	T7_ = NIM_NIL;
 746  	T8_ = NIM_NIL;
 747  	T8_ = dollar___pureZtimes_3272(nimbleLastModified);
 748  	T7_ = rawNewString((scriptName_2 ? scriptName_2->Sup.len : 0) + (T8_ ? T8_->Sup.len : 0) + 0);
 749  appendString(T7_, scriptName_2);
 750  appendString(T7_, T8_);
 751  	T9_ = (NI)0;
 752  	T9_ = hash__pureZhashes_279(T7_);
 753  	if (T9_ == (IL64(-9223372036854775807) - IL64(1))){ raiseOverflow(); }
 754  	shash = dollar___systemZdollars_3((T9_ > 0? (T9_) : -(T9_)));
 755  	nimln_(94, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 756  	T10_ = NIM_NIL;
 757  	nimZeroMem((void*)(&T11_), sizeof(tyTuple__7q7q3E6Oj24ZNVJb9aonhAg));
 758  	nossplitFile(scriptName_2, (&T11_));
 759  	T12_ = NIM_NIL;
 760  	T12_ = slash___pureZos_118(cacheDir, T11_.Field1);
 761  	T10_ = rawNewString((T12_ ? T12_->Sup.len : 0) + (shash ? shash->Sup.len : 0) + 1);
 762  appendString(T10_, T12_);
 763  appendString(T10_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_6));
 764  appendString(T10_, shash);
 765  	prjCacheDir = T10_;
 766  	nimln_(95, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 767  	T13_ = NIM_NIL;
 768  	T13_ = nosextractFilename(scriptName_2);
 769  	T14_ = NIM_NIL;
 770  	T14_ = noschangeFileExt(T13_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_7));
 771  	nimsFile = slash___pureZos_118(prjCacheDir, T14_);
 772  	nimln_(96, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 773  	iniFile = noschangeFileExt(nimsFile, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_8));
 774  	nimln_(99, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 775  	{
 776  		NIM_BOOL T17_;
 777  		T17_ = (NIM_BOOL)0;
 778  		T17_ = nosfileExists(nimscriptApiFile);
 779  		if (!!(T17_)) goto LA18_;
 780  		nimln_(100, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 781  		noscreateDir(cacheDir);
 782  		nimln_(101, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 783  		writeFile__systemZio_567(nimscriptApiFile, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_9));
 784  	}
 785  	LA18_: ;
 786  	nimln_(104, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 787  	{
 788  		NIM_BOOL T22_;
 789  		NimStringDesc* T25_;
 790  		tyArray__Re75IspeoxXy2oCZHwcRrA T26_;
 791  		NimStringDesc* T27_;
 792  		NIM_BOOL T28_;
 793  		T22_ = (NIM_BOOL)0;
 794  		T22_ = nosfileExists(nimsFile);
 795  		if (!!(T22_)) goto LA23_;
 796  		nimln_(105, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 797  		T25_ = NIM_NIL;
 798  		T25_ = nosparentDir(nimsFile);
 799  		noscreateDir(T25_);
 800  		nimln_(106, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 801  		nimln_(117, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 802  		nimZeroMem((void*)T26_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
 803  		T26_[0] = nsuReplaceStr(nimscriptApiFile, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_11), ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_12));
 804  		T26_[1] = nsuReplaceStr(scriptName_2, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_11), ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_12));
 805  		T27_ = NIM_NIL;
 806  		T27_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_10), T26_, 2);
 807  		nimln_(106, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 808  		writeFile__systemZio_567(nimsFile, T27_);
 809  		nimln_(118, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 810  		T28_ = (NIM_BOOL)0;
 811  		T28_ = nostryRemoveFile(iniFile);
 812  		(void)(T28_);
 813  	}
 814  	LA23_: ;
 815  	nimln_(120, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 816  	result = copyString(nimsFile);
 817  	popFrame();
 818  	return result;
 819  }
 820  static N_INLINE(int, nimCmpMem)(void* a, void* b, NI size) {
 821  	int result;
 822  	result = (int)0;
 823  	result = memcmp(a, b, ((size_t) (size)));
 824  	return result;
 825  }
 826  static N_INLINE(NIM_BOOL, equalMem__system_1735)(void* a, void* b, NI size) {
 827  	NIM_BOOL result;
 828  	int T1_;
 829  	result = (NIM_BOOL)0;
 830  	T1_ = (int)0;
 831  	T1_ = nimCmpMem(a, b, size);
 832  	result = (T1_ == ((NI32) 0));
 833  	return result;
 834  }
 835  static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b) {
 836  	NIM_BOOL result;
 837  	NI alen;
 838  	NI blen;
 839  	nimfr_("eqStrings", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
 840  {	result = (NIM_BOOL)0;
 841  	nimln_(27, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
 842  	alen = (a ? a->Sup.len : 0);
 843  	nimln_(28, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
 844  	blen = (b ? b->Sup.len : 0);
 845  	nimln_(29, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
 846  	{
 847  		if (!(alen == blen)) goto LA3_;
 848  		nimln_(30, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
 849  		{
 850  			if (!(alen == ((NI) 0))) goto LA7_;
 851  			result = NIM_TRUE;
 852  			goto BeforeRet_;
 853  		}
 854  		LA7_: ;
 855  		nimln_(31, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/strmantle.nim");
 856  		result = equalMem__system_1735(((void*) ((&a->data[((NI) 0)]))), ((void*) ((&b->data[((NI) 0)]))), ((NI) (alen)));
 857  		goto BeforeRet_;
 858  	}
 859  	LA3_: ;
 860  	}BeforeRet_: ;
 861  	popFrame();
 862  	return result;
 863  }
 864  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isCustomTask__nimblepkgZnimscriptwrapper_26)(NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options) {
 865  	NIM_BOOL result;
 866  	NIM_BOOL T1_;
 867  	nimfr_("isCustomTask", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 868  	result = (NIM_BOOL)0;
 869  	nimln_(26, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 870  	T1_ = (NIM_BOOL)0;
 871  	T1_ = ((*options).action.typ == ((tyEnum_ActionType__w1V3R82mpkCDejycxLFPdg) 13));
 872  	if (!(T1_)) goto LA2_;
 873  	T1_ = !(eqStrings(actionName, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_15)));
 874  	LA2_: ;
 875  	result = T1_;
 876  	popFrame();
 877  	return result;
 878  }
 879  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, needsLiveOutput__nimblepkgZnimscriptwrapper_34)(NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NIM_BOOL isHook) {
 880  	NIM_BOOL result;
 881  	NIM_BOOL isCustomTask;
 882  	NIM_BOOL T1_;
 883  	NIM_BOOL T2_;
 884  	nimfr_("needsLiveOutput", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 885  {	result = (NIM_BOOL)0;
 886  	nimln_(29, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 887  	isCustomTask = isCustomTask__nimblepkgZnimscriptwrapper_26(actionName, options);
 888  	nimln_(30, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 889  	T1_ = (NIM_BOOL)0;
 890  	T2_ = (NIM_BOOL)0;
 891  	T2_ = isCustomTask;
 892  	if (T2_) goto LA3_;
 893  	T2_ = isHook;
 894  	LA3_: ;
 895  	T1_ = T2_;
 896  	if (T1_) goto LA4_;
 897  	T1_ = ((actionName ? actionName->Sup.len : 0) == 0);
 898  	LA4_: ;
 899  	result = T1_;
 900  	goto BeforeRet_;
 901  	}BeforeRet_: ;
 902  	popFrame();
 903  	return result;
 904  }
 905  N_LIB_PRIVATE N_NIMCALL(void, execNimscript__nimblepkgZnimscriptwrapper_44)(NimStringDesc* nimbleFile, NimStringDesc* nimsFile, NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NIM_BOOL isHook, tyTuple__f6XOx6Jh9bkmpGISrrHtyAg* Result) {
 906  	NimStringDesc* outFile;
 907  	NimStringDesc* T1_;
 908  	NimStringDesc* T2_;
 909  	NIM_BOOL isCustomTask;
 910  	NimStringDesc* compFlags;
 911  	NimStringDesc* cmd;
 912  	tyArray__DLxB9cOndPvLDyky9bY9ccM3g T9_;
 913  	NimStringDesc* T10_;
 914  	NimStringDesc* T11_;
 915  	NimStringDesc* T29_;
 916  	nimfr_("execNimscript", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 917  	unsureAsgnRef((void**)&(*Result).Field0, NIM_NIL);
 918  	(*Result).Field1 = 0;
 919  	unsureAsgnRef((void**)&(*Result).Field2, NIM_NIL);
 920  	nimln_(45, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 921  	T1_ = NIM_NIL;
 922  	T2_ = NIM_NIL;
 923  	T2_ = getNimbleTempDir__nimblepkgZtools_120();
 924  	T1_ = rawNewString((T2_ ? T2_->Sup.len : 0) + 4);
 925  appendString(T1_, T2_);
 926  appendString(T1_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_14));
 927  	outFile = T1_;
 928  	nimln_(46, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 929  	isCustomTask = isCustomTask__nimblepkgZnimscriptwrapper_26(actionName, options);
 930  	nimln_(47, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 931  	{
 932  		tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T7_;
 933  		if (!isCustomTask) goto LA5_;
 934  		T7_ = NIM_NIL;
 935  		T7_ = getCompilationFlags__nimblepkgZoptions_2246(options);
 936  		compFlags = nsuJoinSep((T7_) ? (T7_->data) : NIM_NIL, (T7_ ? T7_->Sup.len : 0), ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_16));
 937  	}
 938  	goto LA3_;
 939  	LA5_: ;
 940  	{
 941  		compFlags = ((NimStringDesc*) NIM_NIL);
 942  	}
 943  	LA3_: ;
 944  	nimln_(50, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 945  	nimln_(51, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 946  	nimZeroMem((void*)T9_, sizeof(tyArray__DLxB9cOndPvLDyky9bY9ccM3g));
 947  	nimln_(52, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 948  	T10_ = NIM_NIL;
 949  	T10_ = getNimBin__nimblepkgZoptions_272(options);
 950  	T9_[0] = nospquoteShell(T10_);
 951  	T9_[1] = copyString(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_18));
 952  	T9_[2] = copyString(compFlags);
 953  	nimln_(55, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 954  	T9_[3] = nospquoteShell(nimsFile);
 955  	nimln_(56, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 956  	T9_[4] = nospquoteShell(nimbleFile);
 957  	nimln_(57, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 958  	T9_[5] = nospquoteShell(outFile);
 959  	T9_[6] = copyString(actionName);
 960  	nimln_(51, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 961  	T11_ = NIM_NIL;
 962  	T11_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_17), T9_, 7);
 963  	nimln_(60, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 964  	cmd = nsuStrip(T11_, NIM_TRUE, NIM_TRUE, TM__PUcv9cmWFUbRqCh9ctEyhSMQ_19);
 965  	nimln_(62, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 966  	{
 967  		NimStringDesc* T27_;
 968  		NimStringDesc* T28_;
 969  		if (!isCustomTask) goto LA14_;
 970  		{
 971  			NimStringDesc** i;
 972  			tySequence__sM4lkSb7zS6F7OVMvW9cffQ* colontmp_;
 973  			NI i_2;
 974  			NI L;
 975  			NI T17_;
 976  			i = (NimStringDesc**)0;
 977  			colontmp_ = NIM_NIL;
 978  			nimln_(63, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 979  			if (!(((8192 &((NU32)1<<((NU)((*options).action.typ)&31U)))!=0))) 			{ raiseFieldError2(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_20), reprDiscriminant(((NI)(*options).action.typ) + (NI)IL64(0), (&NTIactiontype__w1V3R82mpkCDejycxLFPdg_))); } 
 980  			colontmp_ = (*options).action._typ_9.arguments;
 981  			nimln_(235, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
 982  			i_2 = ((NI) 0);
 983  			nimln_(236, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
 984  			T17_ = (colontmp_ ? colontmp_->Sup.len : 0);
 985  			L = T17_;
 986  			{
 987  				nimln_(237, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
 988  				while (1) {
 989  					NimStringDesc* T20_;
 990  					NimStringDesc* T21_;
 991  					NI TM__PUcv9cmWFUbRqCh9ctEyhSMQ_21;
 992  					if (!(i_2 < L)) goto LA19;
 993  					nimln_(63, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 994  					if (i_2 < 0 || i_2 >= (colontmp_ ? colontmp_->Sup.len : 0)){ raiseIndexError2(i_2,(colontmp_ ? colontmp_->Sup.len : 0)-1); }
 995  					i = (&colontmp_->data[i_2]);
 996  					T20_ = NIM_NIL;
 997  					nimln_(64, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
 998  					T21_ = NIM_NIL;
 999  					T21_ = nospquoteShell((*i));
1000  					T20_ = rawNewString((T21_ ? T21_->Sup.len : 0) + 1);
1001  appendString(T20_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_16));
1002  appendString(T20_, T21_);
1003  					cmd = resizeString(cmd, (T20_ ? T20_->Sup.len : 0) + 0);
1004  appendString(cmd, T20_);
1005  					nimln_(239, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1006  					if (nimAddInt(i_2, ((NI) 1), &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_21)) { raiseOverflow(); };
1007  					i_2 = (NI)(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_21);
1008  					nimln_(240, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1009  					{
1010  						NI T24_;
1011  						T24_ = (colontmp_ ? colontmp_->Sup.len : 0);
1012  						if (!!((T24_ == L))) goto LA25_;
1013  						failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_22));
1014  					}
1015  					LA25_: ;
1016  				} LA19: ;
1017  			}
1018  		}
1019  		nimln_(65, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1020  		T27_ = NIM_NIL;
1021  		if (!(((8192 &((NU32)1<<((NU)((*options).action.typ)&31U)))!=0))) 		{ raiseFieldError2(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_23), reprDiscriminant(((NI)(*options).action.typ) + (NI)IL64(0), (&NTIactiontype__w1V3R82mpkCDejycxLFPdg_))); } 
1022  		T28_ = NIM_NIL;
1023  		T28_ = nsuJoinSep(((*options).action._typ_9.custRunFlags) ? ((*options).action._typ_9.custRunFlags->data) : NIM_NIL, ((*options).action._typ_9.custRunFlags ? (*options).action._typ_9.custRunFlags->Sup.len : 0), ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_16));
1024  		T27_ = rawNewString((T28_ ? T28_->Sup.len : 0) + 1);
1025  appendString(T27_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_16));
1026  appendString(T27_, T28_);
1027  		cmd = resizeString(cmd, (T27_ ? T27_->Sup.len : 0) + 0);
1028  appendString(cmd, T27_);
1029  	}
1030  	LA14_: ;
1031  	nimln_(67, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1032  	T29_ = NIM_NIL;
1033  	T29_ = rawNewString((cmd ? cmd->Sup.len : 0) + 10);
1034  appendString(T29_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_24));
1035  appendString(T29_, cmd);
1036  	displayDebug__nimblepkgZcli_697(T29_);
1037  	nimln_(69, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1038  	{
1039  		NIM_BOOL T32_;
1040  		T32_ = (NIM_BOOL)0;
1041  		T32_ = needsLiveOutput__nimblepkgZnimscriptwrapper_34(actionName, options, isHook);
1042  		if (!T32_) goto LA33_;
1043  		nimln_(70, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1044  		(*Result).Field1 = nospexecCmd(cmd);
1045  	}
1046  	goto LA30_;
1047  	LA33_: ;
1048  	{
1049  		tyTuple__XOVT24GHXwqiEj5GCsEGCA _;
1050  		nimZeroMem((void*)(&_), sizeof(tyTuple__XOVT24GHXwqiEj5GCsEGCA));
1051  		nimln_(74, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1052  		execCmdEx__pureZosproc_1135(cmd, 10, ((tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg*) NIM_NIL), ((NimStringDesc*) NIM_NIL), ((NimStringDesc*) NIM_NIL), (&_));
1053  		unsureAsgnRef((void**) (&(*Result).Field2), copyString(_.Field0));
1054  		(*Result).Field1 = _.Field1;
1055  	}
1056  	LA30_: ;
1057  	nimln_(75, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1058  	{
1059  		NIM_BOOL T38_;
1060  		T38_ = (NIM_BOOL)0;
1061  		T38_ = nosfileExists(outFile);
1062  		if (!T38_) goto LA39_;
1063  		nimln_(76, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1064  		unsureAsgnRef((void**) (&(*Result).Field0), readFile__systemZio_562(outFile));
1065  		nimln_(77, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1066  		{
1067  			NIM_BOOL T43_;
1068  			NIM_BOOL T46_;
1069  			T43_ = (NIM_BOOL)0;
1070  			T43_ = shouldRemoveTmp__nimblepkgZoptions_2229(options, outFile);
1071  			if (!T43_) goto LA44_;
1072  			nimln_(78, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1073  			T46_ = (NIM_BOOL)0;
1074  			T46_ = nostryRemoveFile(outFile);
1075  			(void)(T46_);
1076  		}
1077  		LA44_: ;
1078  	}
1079  	LA39_: ;
1080  	popFrame();
1081  }
1082  N_LIB_PRIVATE N_NIMCALL(void, writeExecutionOutput__nimblepkgZnimscriptwrapper_40)(NimStringDesc* data) {
1083  	nimfr_("writeExecutionOutput", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1084  	nimln_(36, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1085  	display__nimblepkgZcli_156(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_25), data, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 4), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 2));
1086  	popFrame();
1087  }
1088  N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, getIniFile__nimblepkgZnimscriptwrapper_85)(NimStringDesc* scriptName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options) {
1089  	NimStringDesc* result;
1090  	NimStringDesc* nimsFile;
1091  	NIM_BOOL isIniResultCached;
1092  	NIM_BOOL T1_;
1093  	tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q T3_;
1094  	tyObject_Time__3y2ZpqsTJLqdZvpC9a0rU2Q T4_;
1095  	nimfr_("getIniFile", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1096  	result = NIM_NIL;
1097  	nimln_(124, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1098  	nimsFile = getNimsFile__nimblepkgZnimscriptwrapper_72(scriptName, options);
1099  	nimln_(126, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1100  	result = noschangeFileExt(nimsFile, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_13));
1101  	nimln_(129, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1102  	nimln_(130, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1103  	T1_ = (NIM_BOOL)0;
1104  	T1_ = nosfileExists(result);
1105  	if (!(T1_)) goto LA2_;
1106  	nimln_(131, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1107  	T3_ = nosgetLastModificationTime(scriptName);
1108  	nimln_(130, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1109  	T4_ = nosgetLastModificationTime(result);
1110  	T1_ = ntLtTime(T3_, T4_);
1111  	LA2_: ;
1112  	isIniResultCached = T1_;
1113  	nimln_(133, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1114  	{
1115  		tyTuple__f6XOx6Jh9bkmpGISrrHtyAg T9_;
1116  		NimStringDesc* output;
1117  		NI exitCode;
1118  		NimStringDesc* stdout_1;
1119  		if (!!(isIniResultCached)) goto LA7_;
1120  		nimln_(134, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1121  		nimZeroMem((void*)(&T9_), sizeof(tyTuple__f6XOx6Jh9bkmpGISrrHtyAg));
1122  		execNimscript__nimblepkgZnimscriptwrapper_44(scriptName, nimsFile, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_15), options, NIM_FALSE, (&T9_));
1123  		output = NIM_NIL;
1124  		output = T9_.Field0;
1125  		exitCode = (NI)0;
1126  		exitCode = T9_.Field1;
1127  		stdout_1 = NIM_NIL;
1128  		stdout_1 = T9_.Field2;
1129  		nimln_(138, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1130  		{
1131  			NIM_BOOL T12_;
1132  			T12_ = (NIM_BOOL)0;
1133  			T12_ = (exitCode == ((NI) 0));
1134  			if (!(T12_)) goto LA13_;
1135  			T12_ = !(((output ? output->Sup.len : 0) == ((NI) 0)));
1136  			LA13_: ;
1137  			if (!T12_) goto LA14_;
1138  			nimln_(139, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1139  			writeFile__systemZio_567(result, output);
1140  			nimln_(140, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1141  			writeExecutionOutput__nimblepkgZnimscriptwrapper_40(stdout_1);
1142  		}
1143  		goto LA10_;
1144  		LA14_: ;
1145  		{
1146  			NimStringDesc* T17_;
1147  			tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* T18_;
1148  			nimln_(142, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1149  			T17_ = NIM_NIL;
1150  			T17_ = rawNewString((stdout_1 ? stdout_1->Sup.len : 0) + 22);
1151  appendString(T17_, stdout_1);
1152  appendString(T17_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_26));
1153  			T18_ = NIM_NIL;
1154  			T18_ = nimbleError__nimblepkgZcommon_26(T17_, ((NimStringDesc*) NIM_NIL), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) NIM_NIL));
1155  			raiseExceptionEx((Exception*)T18_, "NimbleError", "getIniFile", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim", 142);
1156  		}
1157  		LA10_: ;
1158  	}
1159  	LA7_: ;
1160  	popFrame();
1161  	return result;
1162  }
1163  static N_INLINE(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q*, X5BX5D___pureZjson_3073)(tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* node, NimStringDesc* name) {
1164  	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* result;
1165  	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** T9_;
1166  	nimfr_("[]", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1167  	result = NIM_NIL;
1168  	nimln_(513, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1169  	{
1170  		if (!!(!((node == 0)))) goto LA3_;
1171  		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_36));
1172  	}
1173  	LA3_: ;
1174  	nimln_(514, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1175  	{
1176  		if (!!(((*node).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 5)))) goto LA7_;
1177  		failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_37));
1178  	}
1179  	LA7_: ;
1180  	nimln_(517, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1181  	if (!(((32 &((NU8)1<<((NU)((*node).kind)&7U)))!=0))) 	{ raiseFieldError2(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_38), reprDiscriminant(((NI)(*node).kind) + (NI)IL64(0), (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_))); } 
1182  	T9_ = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0;
1183  	T9_ = X5BX5D___pureZjson_2667((&(*node)._kind_6.fields), name);
1184  	result = (*T9_);
1185  	popFrame();
1186  	return result;
1187  }
1188  static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
1189  	NI result;
1190  	nimfr_("-%", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
1191  	result = (NI)0;
1192  	nimln_(414, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
1193  	nimln_(418, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/arithmetics.nim");
1194  	result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y))))));
1195  	popFrame();
1196  	return result;
1197  }
1198  static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
1199  	NIM_BOOL result;
1200  	nimfr_("<%", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/comparisons.nim");
1201  	result = (NIM_BOOL)0;
1202  	nimln_(186, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/comparisons.nim");
1203  	nimln_(188, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/comparisons.nim");
1204  	result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y))));
1205  	popFrame();
1206  	return result;
1207  }
1208  static N_INLINE(void, rtlAddZCT__system_5397)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1209  	nimfr_("rtlAddZCT", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1210  	nimln_(243, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1211  	addZCT__system_5348((&gch__system_5301.zct), c);
1212  	popFrame();
1213  }
1214  static N_INLINE(void, decRef__system_5399)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
1215  	nimfr_("decRef", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1216  	nimln_(248, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1217  	(*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
1218  	nimln_(249, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1219  	{
1220  		NIM_BOOL T3_;
1221  		T3_ = (NIM_BOOL)0;
1222  		T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
1223  		if (!T3_) goto LA4_;
1224  		nimln_(250, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1225  		rtlAddZCT__system_5397(c);
1226  	}
1227  	LA4_: ;
1228  	popFrame();
1229  }
1230  static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5354)(void* usr) {
1231  	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
1232  	NI T1_;
1233  	nimfr_("usrToCell", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1234  	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
1235  	nimln_(177, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1236  	T1_ = (NI)0;
1237  	T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 16));
1238  	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
1239  	popFrame();
1240  	return result;
1241  }
1242  static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
1243  	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
1244  	nimfr_("nimGCunrefNoCycle", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1245  	nimln_(276, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/gc.nim");
1246  	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
1247  	T1_ = usrToCell__system_5354(p);
1248  	decRef__system_5399(T1_);
1249  	popFrame();
1250  }
1251  static N_INLINE(NI, len__pureZjson_2169)(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg* t) {
1252  	NI result;
1253  	nimfr_("len", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1254  	result = (NI)0;
1255  	nimln_(1509, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1256  	result = (*t).counter;
1257  	popFrame();
1258  	return result;
1259  }
1260  static N_INLINE(NIM_BOOL, isFilled__pureZcollectionsZtables_31)(NI hcode) {
1261  	NIM_BOOL result;
1262  	nimfr_("isFilled", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/hashcommon.nim");
1263  	result = (NIM_BOOL)0;
1264  	nimln_(22, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/hashcommon.nim");
1265  	result = !((hcode == ((NI) 0)));
1266  	popFrame();
1267  	return result;
1268  }
1269  N_LIB_PRIVATE N_NIMCALL(void, execScript__nimblepkgZnimscriptwrapper_103)(NimStringDesc* scriptName, NimStringDesc* actionName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, NIM_BOOL isHook, tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA* Result) {
1270  	NimStringDesc* nimsFile;
1271  	tyTuple__f6XOx6Jh9bkmpGISrrHtyAg T1_;
1272  	NimStringDesc* output;
1273  	NI exitCode;
1274  	NimStringDesc* stdout_1;
1275  	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* j;
1276  	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T17_;
1277  	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T18_;
1278  	tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T76_;
1279  	nimfr_("execScript", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1280  	(*Result).success = 0;
1281  	unsureAsgnRef((void**)&(*Result).command, NIM_NIL);
1282  	unsureAsgnRef((void**)&(*Result).arguments, NIM_NIL);
1283  	unsureAsgnRef((void**)&(*Result).flags, NIM_NIL);
1284  	(*Result).retVal = 0;
1285  	unsureAsgnRef((void**)&(*Result).stdout_0, NIM_NIL);
1286  	nimln_(147, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1287  	nimsFile = getNimsFile__nimblepkgZnimscriptwrapper_72(scriptName, options);
1288  	nimln_(149, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1289  	nimln_(150, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1290  	nimZeroMem((void*)(&T1_), sizeof(tyTuple__f6XOx6Jh9bkmpGISrrHtyAg));
1291  	execNimscript__nimblepkgZnimscriptwrapper_44(scriptName, nimsFile, actionName, options, isHook, (&T1_));
1292  	output = NIM_NIL;
1293  	output = T1_.Field0;
1294  	exitCode = (NI)0;
1295  	exitCode = T1_.Field1;
1296  	stdout_1 = NIM_NIL;
1297  	stdout_1 = T1_.Field2;
1298  	nimln_(154, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1299  	{
1300  		NimStringDesc* errMsg;
1301  		tyObject_NimbleError__6rmfqzY5PO7blXdlEs8gjQ* T11_;
1302  		if (!!((exitCode == ((NI) 0)))) goto LA4_;
1303  		nimln_(155, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1304  		nimln_(156, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1305  		{
1306  			if (!!(((stdout_1 ? stdout_1->Sup.len : 0) == ((NI) 0)))) goto LA8_;
1307  			errMsg = stdout_1;
1308  		}
1309  		goto LA6_;
1310  		LA8_: ;
1311  		{
1312  			errMsg = copyString(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_31));
1313  		}
1314  		LA6_: ;
1315  		nimln_(160, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1316  		T11_ = NIM_NIL;
1317  		T11_ = nimbleError__nimblepkgZcommon_26(errMsg, ((NimStringDesc*) NIM_NIL), ((tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA*) NIM_NIL));
1318  		raiseExceptionEx((Exception*)T11_, "NimbleError", "execScript", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim", 160);
1319  	}
1320  	LA4_: ;
1321  	nimln_(163, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1322  	nimln_(164, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1323  	{
1324  		if (!!(((output ? output->Sup.len : 0) == ((NI) 0)))) goto LA14_;
1325  		nimln_(165, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1326  		j = parseJson__pureZjson_5296(output, NIM_FALSE, NIM_FALSE);
1327  	}
1328  	goto LA12_;
1329  	LA14_: ;
1330  	{
1331  		nimln_(167, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1332  		j = parseJson__pureZjson_5296(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_32), NIM_FALSE, NIM_FALSE);
1333  	}
1334  	LA12_: ;
1335  	nimln_(169, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1336  	unsureAsgnRef((void**) (&(*Result).flags), newTable__pureZhttpcore_120(((NI) 32)));
1337  	nimln_(170, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1338  	T17_ = NIM_NIL;
1339  	T17_ = X7BX7D___pureZjson_3606(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_33));
1340  	(*Result).success = getBool__pureZjson_189(T17_, NIM_FALSE);
1341  	nimln_(171, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1342  	T18_ = NIM_NIL;
1343  	T18_ = X7BX7D___pureZjson_3606(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_34));
1344  	unsureAsgnRef((void**) (&(*Result).command), getStr__pureZjson_148(T18_, ((NimStringDesc*) NIM_NIL)));
1345  	nimln_(172, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1346  	{
1347  		NIM_BOOL T21_;
1348  		tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* T24_;
1349  		NimStringDesc* T25_;
1350  		NI T26_;
1351  		NimStringDesc* T27_;
1352  		T21_ = (NIM_BOOL)0;
1353  		T21_ = contains__pureZjson_3248(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_35));
1354  		if (!T21_) goto LA22_;
1355  		nimln_(173, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1356  		T24_ = NIM_NIL;
1357  		T24_ = X5BX5D___pureZjson_3073(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_35));
1358  		T25_ = NIM_NIL;
1359  		T25_ = getStr__pureZjson_148(T24_, ((NimStringDesc*) NIM_NIL));
1360  		unsureAsgnRef((void**) (&(*Result).arguments), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)((*Result).arguments), (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_)));
1361  		T26_ = (*Result).arguments->Sup.len++;
1362  		T27_ = NIM_NIL;
1363  		T27_ = (*Result).arguments->data[T26_]; (*Result).arguments->data[T26_] = copyStringRC1(T25_);
1364  		if (T27_) nimGCunrefNoCycle(T27_);
1365  	}
1366  	LA22_: ;
1367  	nimln_(174, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1368  	{
1369  		NIM_BOOL T30_;
1370  		T30_ = (NIM_BOOL)0;
1371  		T30_ = contains__pureZjson_3248(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_39));
1372  		if (!T30_) goto LA31_;
1373  		{
1374  			NimStringDesc* flag;
1375  			tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* vals;
1376  			tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* colontmp_;
1377  			flag = NIM_NIL;
1378  			vals = NIM_NIL;
1379  			colontmp_ = NIM_NIL;
1380  			nimln_(175, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1381  			colontmp_ = X5BX5D___pureZjson_3073(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_39));
1382  			nimln_(837, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1383  			{
1384  				NimStringDesc* T38_;
1385  				if (!!(((*colontmp_).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 5)))) goto LA36_;
1386  				T38_ = NIM_NIL;
1387  				T38_ = rawNewString((reprEnum((NI)(*colontmp_).kind, (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_)) ? reprEnum((NI)(*colontmp_).kind, (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_))->Sup.len : 0) + 148);
1388  appendString(T38_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_40));
1389  appendString(T38_, reprEnum((NI)(*colontmp_).kind, (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_)));
1390  				failedAssertImpl__systemZassertions_56(T38_);
1391  			}
1392  			LA36_: ;
1393  			{
1394  				NimStringDesc* key;
1395  				tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val;
1396  				tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg colontmp__2;
1397  				NI L;
1398  				key = NIM_NIL;
1399  				val = NIM_NIL;
1400  				nimZeroMem((void*)(&colontmp__2), sizeof(tyObject_OrderedTable__ZZvSdVkA2s2sIyifu4cpkg));
1401  				nimln_(838, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1402  				if (!(((32 &((NU8)1<<((NU)((*colontmp_).kind)&7U)))!=0))) 				{ raiseFieldError2(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_38), reprDiscriminant(((NI)(*colontmp_).kind) + (NI)IL64(0), (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_))); } 
1403  				colontmp__2.data = (*colontmp_)._kind_6.fields.data;
1404  				colontmp__2.counter = (*colontmp_)._kind_6.fields.counter;
1405  				colontmp__2.first = (*colontmp_)._kind_6.fields.first;
1406  				colontmp__2.last = (*colontmp_)._kind_6.fields.last;
1407  				nimln_(1717, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1408  				L = len__pureZjson_2169((&colontmp__2));
1409  				nimln_(1718, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1410  				{
1411  					NI h;
1412  					nimln_(1298, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1413  					if (!(((NI) 0) < colontmp__2.counter)) goto LA42_;
1414  					nimln_(1299, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1415  					h = colontmp__2.first;
1416  					{
1417  						nimln_(1300, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1418  						while (1) {
1419  							NI nxt;
1420  							if (!(((NI) 0) <= h)) goto LA45;
1421  							nimln_(1301, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1422  							if (h < 0 || h >= (colontmp__2.data ? colontmp__2.data->Sup.len : 0)){ raiseIndexError2(h,(colontmp__2.data ? colontmp__2.data->Sup.len : 0)-1); }
1423  							nxt = colontmp__2.data->data[h].Field1;
1424  							nimln_(1302, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1425  							{
1426  								NIM_BOOL T48_;
1427  								tySequence__sM4lkSb7zS6F7OVMvW9cffQ* T51_;
1428  								if (h < 0 || h >= (colontmp__2.data ? colontmp__2.data->Sup.len : 0)){ raiseIndexError2(h,(colontmp__2.data ? colontmp__2.data->Sup.len : 0)-1); }
1429  								T48_ = (NIM_BOOL)0;
1430  								T48_ = isFilled__pureZcollectionsZtables_31(colontmp__2.data->data[h].Field0);
1431  								if (!T48_) goto LA49_;
1432  								nimln_(838, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1433  								if (h < 0 || h >= (colontmp__2.data ? colontmp__2.data->Sup.len : 0)){ raiseIndexError2(h,(colontmp__2.data ? colontmp__2.data->Sup.len : 0)-1); }
1434  								key = colontmp__2.data->data[h].Field2;
1435  								if (h < 0 || h >= (colontmp__2.data ? colontmp__2.data->Sup.len : 0)){ raiseIndexError2(h,(colontmp__2.data ? colontmp__2.data->Sup.len : 0)-1); }
1436  								val = colontmp__2.data->data[h].Field3;
1437  								nimln_(175, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1438  								flag = key;
1439  								vals = val;
1440  								T51_ = NIM_NIL;
1441  								T51_ = NIM_NIL;
1442  								X5BX5Deq___pureZhttpcore_2122((*Result).flags, flag, T51_);
1443  								{
1444  									tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q* val_2;
1445  									val_2 = NIM_NIL;
1446  									nimln_(824, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1447  									{
1448  										NimStringDesc* T57_;
1449  										if (!!(((*vals).kind == ((tyEnum_JsonNodeKind__RUngo7nCHe6O8aBGIcrhtg) 6)))) goto LA55_;
1450  										T57_ = NIM_NIL;
1451  										T57_ = rawNewString((reprEnum((NI)(*vals).kind, (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_)) ? reprEnum((NI)(*vals).kind, (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_))->Sup.len : 0) + 147);
1452  appendString(T57_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_41));
1453  appendString(T57_, reprEnum((NI)(*vals).kind, (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_)));
1454  										failedAssertImpl__systemZassertions_56(T57_);
1455  									}
1456  									LA55_: ;
1457  									{
1458  										tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q** i;
1459  										tySequence__oLpBKXzW3hF9aCVMo5EymfQ* colontmp__3;
1460  										NI i_2;
1461  										NI L_2;
1462  										NI T59_;
1463  										i = (tyObject_JsonNodeObj__df9bshXB7C9cTiWPIOtX3j1Q**)0;
1464  										colontmp__3 = NIM_NIL;
1465  										nimln_(825, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1466  										if (!(((64 &((NU8)1<<((NU)((*vals).kind)&7U)))!=0))) 										{ raiseFieldError2(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_42), reprDiscriminant(((NI)(*vals).kind) + (NI)IL64(0), (&NTIjsonnodekind__RUngo7nCHe6O8aBGIcrhtg_))); } 
1467  										colontmp__3 = (*vals)._kind_7.elems;
1468  										nimln_(235, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1469  										i_2 = ((NI) 0);
1470  										nimln_(236, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1471  										T59_ = (colontmp__3 ? colontmp__3->Sup.len : 0);
1472  										L_2 = T59_;
1473  										{
1474  											nimln_(237, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1475  											while (1) {
1476  												tySequence__sM4lkSb7zS6F7OVMvW9cffQ** T62_;
1477  												NimStringDesc* T63_;
1478  												NI T64_;
1479  												NimStringDesc* T65_;
1480  												NI TM__PUcv9cmWFUbRqCh9ctEyhSMQ_43;
1481  												if (!(i_2 < L_2)) goto LA61;
1482  												nimln_(825, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/json.nim");
1483  												if (i_2 < 0 || i_2 >= (colontmp__3 ? colontmp__3->Sup.len : 0)){ raiseIndexError2(i_2,(colontmp__3 ? colontmp__3->Sup.len : 0)-1); }
1484  												i = &colontmp__3->data[i_2];
1485  												nimln_(177, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1486  												val_2 = (*i);
1487  												nimln_(178, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1488  												T62_ = (tySequence__sM4lkSb7zS6F7OVMvW9cffQ**)0;
1489  												T62_ = X5BX5D___pureZhttpcore_1883((*Result).flags, flag);
1490  												nimln_(177, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1491  												T63_ = NIM_NIL;
1492  												T63_ = getStr__pureZjson_148(val_2, ((NimStringDesc*) NIM_NIL));
1493  												unsureAsgnRef((void**) (&(*T62_)), (tySequence__sM4lkSb7zS6F7OVMvW9cffQ*) incrSeqV3((TGenericSeq*)((*T62_)), (&NTIseqLstringT__sM4lkSb7zS6F7OVMvW9cffQ_)));
1494  												T64_ = (*T62_)->Sup.len++;
1495  												T65_ = NIM_NIL;
1496  												T65_ = (*T62_)->data[T64_]; (*T62_)->data[T64_] = copyStringRC1(T63_);
1497  												if (T65_) nimGCunrefNoCycle(T65_);
1498  												nimln_(239, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1499  												if (nimAddInt(i_2, ((NI) 1), &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_43)) { raiseOverflow(); };
1500  												i_2 = (NI)(TM__PUcv9cmWFUbRqCh9ctEyhSMQ_43);
1501  												nimln_(240, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/system/iterators.nim");
1502  												{
1503  													NI T68_;
1504  													T68_ = (colontmp__3 ? colontmp__3->Sup.len : 0);
1505  													if (!!((T68_ == L_2))) goto LA69_;
1506  													failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_22));
1507  												}
1508  												LA69_: ;
1509  											} LA61: ;
1510  										}
1511  									}
1512  								}
1513  								nimln_(1720, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1514  								{
1515  									NI T73_;
1516  									T73_ = (NI)0;
1517  									T73_ = len__pureZjson_2169((&colontmp__2));
1518  									if (!!((T73_ == L))) goto LA74_;
1519  									failedAssertImpl__systemZassertions_56(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_44));
1520  								}
1521  								LA74_: ;
1522  							}
1523  							LA49_: ;
1524  							nimln_(1304, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/collections/tables.nim");
1525  							h = nxt;
1526  						} LA45: ;
1527  					}
1528  				}
1529  				LA42_: ;
1530  			}
1531  		}
1532  	}
1533  	LA31_: ;
1534  	nimln_(179, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1535  	T76_ = NIM_NIL;
1536  	T76_ = X7BX7D___pureZjson_3606(j, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_45));
1537  	(*Result).retVal = getBool__pureZjson_189(T76_, NIM_FALSE);
1538  	nimln_(181, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1539  	writeExecutionOutput__nimblepkgZnimscriptwrapper_40(stdout_1);
1540  	popFrame();
1541  }
1542  N_LIB_PRIVATE N_NIMCALL(void, execHook__nimblepkgZnimscriptwrapper_264)(NimStringDesc* scriptName, NimStringDesc* actionName, NIM_BOOL before, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA* Result) {
1543  	NimStringDesc* hookName;
1544  	tyArray__Re75IspeoxXy2oCZHwcRrA T10_;
1545  	NimStringDesc* T11_;
1546  	nimfr_("execHook", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1547  	nimln_(199, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1548  	nimln_(200, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1549  	{
1550  		NimStringDesc* T5_;
1551  		NimStringDesc* T6_;
1552  		if (!before) goto LA3_;
1553  		T5_ = NIM_NIL;
1554  		T6_ = NIM_NIL;
1555  		T6_ = nsuToLowerAsciiStr(actionName);
1556  		T5_ = rawNewString((T6_ ? T6_->Sup.len : 0) + 6);
1557  appendString(T5_, T6_);
1558  appendString(T5_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_27));
1559  		hookName = T5_;
1560  	}
1561  	goto LA1_;
1562  	LA3_: ;
1563  	{
1564  		NimStringDesc* T8_;
1565  		NimStringDesc* T9_;
1566  		nimln_(201, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1567  		T8_ = NIM_NIL;
1568  		T9_ = NIM_NIL;
1569  		T9_ = nsuToLowerAsciiStr(actionName);
1570  		T8_ = rawNewString((T9_ ? T9_->Sup.len : 0) + 5);
1571  appendString(T8_, T9_);
1572  appendString(T8_, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_28));
1573  		hookName = T8_;
1574  	}
1575  	LA1_: ;
1576  	nimln_(202, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1577  	nimZeroMem((void*)T10_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
1578  	T10_[0] = copyString(hookName);
1579  	T10_[1] = copyString(scriptName);
1580  	T11_ = NIM_NIL;
1581  	T11_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_30), T10_, 2);
1582  	display__nimblepkgZcli_156(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_29), T11_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 4), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 2));
1583  	nimln_(205, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1584  	execScript__nimblepkgZnimscriptwrapper_103(scriptName, hookName, options, NIM_TRUE, Result);
1585  	popFrame();
1586  }
1587  N_LIB_PRIVATE N_NIMCALL(void, listTasks__nimblepkgZnimscriptwrapper_283)(NimStringDesc* scriptName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options) {
1588  	tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA T1_;
1589  	nimfr_("listTasks", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1590  	nimln_(212, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1591  	nimZeroMem((void*)(&T1_), sizeof(tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA));
1592  	execScript__nimblepkgZnimscriptwrapper_103(scriptName, ((NimStringDesc*) NIM_NIL), options, NIM_FALSE, (&T1_));
1593  	(void)(T1_);
1594  	popFrame();
1595  }
1596  N_LIB_PRIVATE N_NIMCALL(void, execTask__nimblepkgZnimscriptwrapper_249)(NimStringDesc* scriptName, NimStringDesc* taskName, tyObject_Options__LR5gStV09bAFaOqz9agkkZxQ* options, tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA* Result) {
1597  	tyArray__Re75IspeoxXy2oCZHwcRrA T1_;
1598  	NimStringDesc* T2_;
1599  	nimfr_("execTask", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1600  	nimln_(188, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1601  	nimZeroMem((void*)T1_, sizeof(tyArray__Re75IspeoxXy2oCZHwcRrA));
1602  	T1_[0] = copyString(taskName);
1603  	T1_[1] = copyString(scriptName);
1604  	T2_ = NIM_NIL;
1605  	T2_ = nsuFormatOpenArray(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_47), T1_, 2);
1606  	display__nimblepkgZcli_156(((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_46), T2_, ((tyEnum_DisplayType__HypVeg1P09aXzPaqyobO7xA) 4), ((tyEnum_Priority__8lOyDpa4mymX3OHP5fBsAQ) 3));
1607  	nimln_(191, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1608  	execScript__nimblepkgZnimscriptwrapper_103(scriptName, taskName, options, NIM_FALSE, Result);
1609  	popFrame();
1610  }
1611  N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, hasTaskRequestedCommand__nimble_27374)(tyObject_ExecutionResult__Zdd9cqIzKOwKqMMP9bfCl8PA* execResult) {
1612  	NIM_BOOL result;
1613  	nimfr_("hasTaskRequestedCommand", "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1614  {	result = (NIM_BOOL)0;
1615  	nimln_(209, "/home/yyoncho/Sources/nim/nimble/src/nimblepkg/nimscriptwrapper.nim");
1616  	result = !(eqStrings((*execResult).command, ((NimStringDesc*) &TM__PUcv9cmWFUbRqCh9ctEyhSMQ_48)));
1617  	goto BeforeRet_;
1618  	}BeforeRet_: ;
1619  	popFrame();
1620  	return result;
1621  }