Permalink
Browse files

version 0.8.10

  • Loading branch information...
1 parent cbf5cf9 commit 6975a7bf1dba0448794266eff47ed0fa14baa40a @Araq Araq committed Oct 20, 2010
Showing 635 changed files with 779,540 additions and 915,752 deletions.
View
138 build.bat

Large diffs are not rendered by default.

Oops, something went wrong.
View
7,184 build.sh

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,369 +1,10 @@
-/* Generated by Nimrod Compiler v0.8.9 */
+/* Generated by Nimrod Compiler v0.8.10 */
/* (c) 2010 Andreas Rumpf */
typedef long int NI;
typedef unsigned long int NU;
#include "nimbase.h"
-typedef struct NimStringDesc NimStringDesc;
-typedef struct TGenericSeq TGenericSeq;
-struct TGenericSeq {
-NI len;
-NI space;
-};
-typedef NIM_CHAR TY239[100000001];
-struct NimStringDesc {
- TGenericSeq Sup;
-TY239 data;
-};
-static N_INLINE(NI, Conchash_59409)(NI H_59411, NI Val_59412);
-static N_INLINE(NI, Finishhash_59414)(NI H_59416);
-N_NIMCALL(NI, Hashdata_59418)(void* Data_59420, NI Size_59421);
-static N_INLINE(NI, addInt)(NI A_5803, NI B_5804);
-N_NOINLINE(void, raiseOverflow)(void);
-static N_INLINE(NI, subInt)(NI A_6003, NI B_6004);
-static N_INLINE(NI, Hash_59459)(void* X_59461);
-static N_INLINE(NI, Hash_59463)(NI X_59465);
-static N_INLINE(NI, Hash_59467)(NI64 X_59469);
-static N_INLINE(NI, Hash_59471)(NIM_CHAR X_59473);
-N_NIMCALL(NI, Hash_59480)(NimStringDesc* X_59482);
-N_NOINLINE(void, raiseIndexError)(void);
-N_NIMCALL(NI, Hashignorestyle_59521)(NimStringDesc* X_59523);
-N_NIMCALL(NI, Hashignorecase_59577)(NimStringDesc* X_59579);
-static N_INLINE(NI, Conchash_59409)(NI H_59411, NI Val_59412) {
-NI Result_59413;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "concHash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59413 = 0;
-F.line = 22;F.filename = "hashes.nim";
-Result_59413 = (NI32)((NU32)(H_59411) + (NU32)(Val_59412));
-F.line = 23;F.filename = "hashes.nim";
-Result_59413 = (NI32)((NU32)(Result_59413) + (NU32)((NI32)((NU32)(Result_59413) << (NU32)(10))));
-F.line = 24;F.filename = "hashes.nim";
-Result_59413 = (NI32)(Result_59413 ^ (NI32)((NU32)(Result_59413) >> (NU32)(6)));
-framePtr = framePtr->prev;
-return Result_59413;
-}
-static N_INLINE(NI, Finishhash_59414)(NI H_59416) {
-NI Result_59417;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "finishHash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59417 = 0;
-F.line = 27;F.filename = "hashes.nim";
-Result_59417 = (NI32)((NU32)(H_59416) + (NU32)((NI32)((NU32)(H_59416) << (NU32)(3))));
-F.line = 28;F.filename = "hashes.nim";
-Result_59417 = (NI32)(Result_59417 ^ (NI32)((NU32)(Result_59417) >> (NU32)(11)));
-F.line = 29;F.filename = "hashes.nim";
-Result_59417 = (NI32)((NU32)(Result_59417) + (NU32)((NI32)((NU32)(Result_59417) << (NU32)(15))));
-framePtr = framePtr->prev;
-return Result_59417;
-}
-static N_INLINE(NI, addInt)(NI A_5803, NI B_5804) {
-NI Result_5805;
-NIM_BOOL LOC2;
-Result_5805 = 0;
-Result_5805 = (NI32)((NU32)(A_5803) + (NU32)(B_5804));
-LOC2 = (0 <= (NI32)(Result_5805 ^ A_5803));
-if (LOC2) goto LA3;
-LOC2 = (0 <= (NI32)(Result_5805 ^ B_5804));
-LA3: ;
-if (!LOC2) goto LA4;
-goto BeforeRet;
-LA4: ;
-raiseOverflow();
-BeforeRet: ;
-return Result_5805;
-}
-static N_INLINE(NI, subInt)(NI A_6003, NI B_6004) {
-NI Result_6005;
-NIM_BOOL LOC2;
-Result_6005 = 0;
-Result_6005 = (NI32)((NU32)(A_6003) - (NU32)(B_6004));
-LOC2 = (0 <= (NI32)(Result_6005 ^ A_6003));
-if (LOC2) goto LA3;
-LOC2 = (0 <= (NI32)(Result_6005 ^ (NI32)((NU32) ~(B_6004))));
-LA3: ;
-if (!LOC2) goto LA4;
-goto BeforeRet;
-LA4: ;
-raiseOverflow();
-BeforeRet: ;
-return Result_6005;
-}
-N_NIMCALL(NI, Hashdata_59418)(void* Data_59420, NI Size_59421) {
-NI Result_59422;
-NI H_59423;
-NCSTRING P_59424;
-NI I_59425;
-NI S_59426;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hashData";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59422 = 0;
-H_59423 = 0;
-P_59424 = 0;
-I_59425 = 0;
-S_59426 = 0;
-F.line = 37;F.filename = "hashes.nim";
-H_59423 = 0;
-F.line = 38;F.filename = "hashes.nim";
-P_59424 = ((NCSTRING) (Data_59420));
-F.line = 39;F.filename = "hashes.nim";
-I_59425 = 0;
-F.line = 40;F.filename = "hashes.nim";
-S_59426 = Size_59421;
-F.line = 41;F.filename = "hashes.nim";
-while (1) {
-if (!(0 < S_59426)) goto LA1;
-F.line = 42;F.filename = "hashes.nim";
-H_59423 = Conchash_59409(H_59423, ((NU8)(P_59424[I_59425])));
-F.line = 43;F.filename = "hashes.nim";
-I_59425 = addInt(I_59425, 1);
-F.line = 44;F.filename = "hashes.nim";
-S_59426 = subInt(S_59426, 1);
-} LA1: ;
-F.line = 45;F.filename = "hashes.nim";
-Result_59422 = Finishhash_59414(H_59423);
-framePtr = framePtr->prev;
-return Result_59422;
-}
-static N_INLINE(NI, Hash_59459)(void* X_59461) {
-NI Result_59462;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59462 = 0;
-F.line = 49;F.filename = "hashes.nim";
-Result_59462 = (NI32)((NU32)(((NI) (X_59461))) >> (NU32)(3));
-framePtr = framePtr->prev;
-return Result_59462;
-}
-static N_INLINE(NI, Hash_59463)(NI X_59465) {
-NI Result_59466;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59466 = 0;
-F.line = 53;F.filename = "hashes.nim";
-Result_59466 = X_59465;
-framePtr = framePtr->prev;
-return Result_59466;
-}
-static N_INLINE(NI, Hash_59467)(NI64 X_59469) {
-NI Result_59470;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59470 = 0;
-F.line = 57;F.filename = "hashes.nim";
-Result_59470 = ((NI) (((NI32)(NU32)(NU64)(X_59469))));
-framePtr = framePtr->prev;
-return Result_59470;
-}
-static N_INLINE(NI, Hash_59471)(NIM_CHAR X_59473) {
-NI Result_59474;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59474 = 0;
-F.line = 61;F.filename = "hashes.nim";
-Result_59474 = ((NU8)(X_59473));
-framePtr = framePtr->prev;
-return Result_59474;
-}
-N_NIMCALL(NI, Hash_59480)(NimStringDesc* X_59482) {
-NI Result_59483;
-NI H_59484;
-NI I_59509;
-NI HEX3Atmp_59516;
-NI Res_59518;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hash";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59483 = 0;
-H_59484 = 0;
-F.line = 66;F.filename = "hashes.nim";
-H_59484 = 0;
-I_59509 = 0;
-HEX3Atmp_59516 = 0;
-F.line = 67;F.filename = "hashes.nim";
-HEX3Atmp_59516 = subInt(X_59482->Sup.len, 1);
-Res_59518 = 0;
-F.line = 1021;F.filename = "system.nim";
-Res_59518 = 0;
-F.line = 1022;F.filename = "system.nim";
-while (1) {
-if (!(Res_59518 <= HEX3Atmp_59516)) goto LA1;
-F.line = 1021;F.filename = "system.nim";
-I_59509 = Res_59518;
-F.line = 68;F.filename = "hashes.nim";
-if ((NU)(I_59509) > (NU)(X_59482->Sup.len)) raiseIndexError();
-H_59484 = Conchash_59409(H_59484, ((NU8)(X_59482->data[I_59509])));
-F.line = 1024;F.filename = "system.nim";
-Res_59518 = addInt(Res_59518, 1);
-} LA1: ;
-F.line = 69;F.filename = "hashes.nim";
-Result_59483 = Finishhash_59414(H_59484);
-framePtr = framePtr->prev;
-return Result_59483;
-}
-N_NIMCALL(NI, Hashignorestyle_59521)(NimStringDesc* X_59523) {
-NI Result_59524;
-NI H_59525;
-NIM_CHAR C_59526;
-NI I_59536;
-NI HEX3Atmp_59572;
-NI Res_59574;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hashIgnoreStyle";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59524 = 0;
-H_59525 = 0;
-C_59526 = 0;
-F.line = 76;F.filename = "hashes.nim";
-H_59525 = 0;
-I_59536 = 0;
-HEX3Atmp_59572 = 0;
-F.line = 77;F.filename = "hashes.nim";
-HEX3Atmp_59572 = subInt(X_59523->Sup.len, 1);
-Res_59574 = 0;
-F.line = 1021;F.filename = "system.nim";
-Res_59574 = 0;
-F.line = 1022;F.filename = "system.nim";
-while (1) {
-if (!(Res_59574 <= HEX3Atmp_59572)) goto LA1;
-F.line = 1021;F.filename = "system.nim";
-I_59536 = Res_59574;
-F.line = 78;F.filename = "hashes.nim";
-if ((NU)(I_59536) > (NU)(X_59523->Sup.len)) raiseIndexError();
-C_59526 = X_59523->data[I_59536];
-F.line = 79;F.filename = "hashes.nim";
-if (!((NU8)(C_59526) == (NU8)(95))) goto LA4;
-F.line = 80;F.filename = "hashes.nim";
-goto LA2;
-LA4: ;
-F.line = 81;F.filename = "hashes.nim";
-if (!(((NU8)(C_59526)) >= ((NU8)(65)) && ((NU8)(C_59526)) <= ((NU8)(90)))) goto LA7;
-F.line = 82;F.filename = "hashes.nim";
-C_59526 = ((NIM_CHAR) (((NI) (addInt(((NU8)(C_59526)), 32)))));
-LA7: ;
-F.line = 83;F.filename = "hashes.nim";
-H_59525 = Conchash_59409(H_59525, ((NU8)(C_59526)));
-LA2: ;
-F.line = 1024;F.filename = "system.nim";
-Res_59574 = addInt(Res_59574, 1);
-} LA1: ;
-F.line = 84;F.filename = "hashes.nim";
-Result_59524 = Finishhash_59414(H_59525);
-framePtr = framePtr->prev;
-return Result_59524;
-}
-N_NIMCALL(NI, Hashignorecase_59577)(NimStringDesc* X_59579) {
-NI Result_59580;
-NI H_59581;
-NIM_CHAR C_59582;
-NI I_59592;
-NI HEX3Atmp_59626;
-NI Res_59628;
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hashIgnoreCase";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-Result_59580 = 0;
-H_59581 = 0;
-C_59582 = 0;
-F.line = 91;F.filename = "hashes.nim";
-H_59581 = 0;
-I_59592 = 0;
-HEX3Atmp_59626 = 0;
-F.line = 92;F.filename = "hashes.nim";
-HEX3Atmp_59626 = subInt(X_59579->Sup.len, 1);
-Res_59628 = 0;
-F.line = 1021;F.filename = "system.nim";
-Res_59628 = 0;
-F.line = 1022;F.filename = "system.nim";
-while (1) {
-if (!(Res_59628 <= HEX3Atmp_59626)) goto LA1;
-F.line = 1021;F.filename = "system.nim";
-I_59592 = Res_59628;
-F.line = 93;F.filename = "hashes.nim";
-if ((NU)(I_59592) > (NU)(X_59579->Sup.len)) raiseIndexError();
-C_59582 = X_59579->data[I_59592];
-F.line = 94;F.filename = "hashes.nim";
-if (!(((NU8)(C_59582)) >= ((NU8)(65)) && ((NU8)(C_59582)) <= ((NU8)(90)))) goto LA3;
-F.line = 95;F.filename = "hashes.nim";
-C_59582 = ((NIM_CHAR) (((NI) (addInt(((NU8)(C_59582)), 32)))));
-LA3: ;
-F.line = 96;F.filename = "hashes.nim";
-H_59581 = Conchash_59409(H_59581, ((NU8)(C_59582)));
-F.line = 1024;F.filename = "system.nim";
-Res_59628 = addInt(Res_59628, 1);
-} LA1: ;
-F.line = 97;F.filename = "hashes.nim";
-Result_59580 = Finishhash_59414(H_59581);
-framePtr = framePtr->prev;
-return Result_59580;
-}
N_NOINLINE(void, hashesInit)(void) {
-volatile struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename;NI len;
-} F;
-F.procname = "hashes";
-F.prev = framePtr;
-F.filename = "/home/andreas/projects/nimrod/lib/pure/hashes.nim";
-F.line = 0;
-framePtr = (TFrame*)&F;
-F.len = 0;
-framePtr = framePtr->prev;
}
Oops, something went wrong.

0 comments on commit 6975a7b

Please sign in to comment.