1 /* Generated by Nim Compiler v1.6.2 */
2 #define NIM_INTBITS 32
3 
4 #include "nimbase.h"
5 #include <string.h>
6 #include <stdio.h>
7 #include <stdlib.h>
8 #undef LANGUAGE_C
9 #undef MIPSEB
10 #undef MIPSEL
11 #undef PPC
12 #undef R3000
13 #undef R4000
14 #undef i386
15 #undef linux
16 #undef mips
17 #undef near
18 #undef far
19 #undef powerpc
20 #undef unix
21 #define nimfr_(x, y)
22 #define nimln_(x, y)
23 typedef struct TNimType TNimType;
24 typedef struct TNimNode TNimNode;
25 typedef struct tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g;
26 typedef struct RootObj RootObj;
27 typedef struct NimStringDesc NimStringDesc;
28 typedef struct TGenericSeq TGenericSeq;
29 typedef struct tyTuple__JfHvHzMrhKkWAUvQKe0i1A tyTuple__JfHvHzMrhKkWAUvQKe0i1A;
30 typedef struct tyObject_Env_llstreamdotnim_llstream___diB2NTuAIWY0FO9c5IUJRGg tyObject_Env_llstreamdotnim_llstream___diB2NTuAIWY0FO9c5IUJRGg;
31 typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
32 typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
33 typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
34 typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
35 typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
36 typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
37 typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
38 typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
39 typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
40 typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
41 typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
42 typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
43 typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
44 typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
45 typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
46 typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
47 typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
48 typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
49 typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
50 typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
51 struct TNimType {
52 NI size;
53 NI align;
54 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
55 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
56 TNimType* base;
57 TNimNode* node;
58 void* finalizer;
59 tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
60 tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
61 };
62 typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
63 struct TNimNode {
64 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
65 NI offset;
66 TNimType* typ;
67 NCSTRING name;
68 NI len;
69 TNimNode** sons;
70 };
71 struct RootObj {
72 TNimType* m_type;
73 };
74 typedef NU8 tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ;
75 struct TGenericSeq {
76 NI len;
77 NI reserved;
78 };
79 struct NimStringDesc {
80   TGenericSeq Sup;
81 NIM_CHAR data[SEQ_DECL_SIZE];
82 };
83 typedef struct {
84 N_NIMCALL_PTR(NI, ClP_0) (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, void* buf, NI bufLen, void* ClE_0);
85 void* ClE_0;
86 } tyProc__9cZV5JMJLsdOPMv55VbpOVg;
87 typedef struct {
88 N_NIMCALL_PTR(void, ClP_0) (void* ClE_0);
89 void* ClE_0;
90 } tyProc__HzVCwACFYM9cx9aV62PdjtuA;
91 struct tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g {
92   RootObj Sup;
93 tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ kind;
94 FILE* f;
95 NimStringDesc* s;
96 NI rd;
97 NI wr;
98 NI lineOffset;
99 tyProc__9cZV5JMJLsdOPMv55VbpOVg repl;
100 tyProc__HzVCwACFYM9cx9aV62PdjtuA onPrompt;
101 };
102 struct tyTuple__JfHvHzMrhKkWAUvQKe0i1A {
103 void* Field0;
104 tyObject_Env_llstreamdotnim_llstream___diB2NTuAIWY0FO9c5IUJRGg* Field1;
105 };
106 typedef NU8 tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg;
107 typedef N_CLOSURE_PTR(void, TM__ml9aueblxGz9aYsRLKvPmpow_9) (void);
108 typedef N_CLOSURE_PTR(NI, TM__ml9aueblxGz9aYsRLKvPmpow_10) (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, void* buf, NI bufLen);
109 struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {
110 NI refcount;
111 TNimType* typ;
112 };
113 struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {
114 void* bottom;
115 };
116 struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {
117 NI len;
118 NI cap;
119 tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
120 };
121 typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SPr7N6UKfuF549bNPiUvSRw[256];
122 typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
123 typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
124 typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
125 typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
126 struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {
127 tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
128 };
129 typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
130 struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {
131 tyArray__0aOLqZchNi8nWtMTi8ND8w link;
132 NI key;
133 NI upperBound;
134 NI level;
135 };
136 struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
137 tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
138 NI Field1;
139 };
140 typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
141 struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {
142 NI len;
143 tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
144 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
145 };
146 struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {
147 NI minLargeObj;
148 NI maxLargeObj;
149 tyArray__SPr7N6UKfuF549bNPiUvSRw freeSmallChunks;
150 NU32 flBitmap;
151 tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
152 tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
153 tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
154 NI currMem;
155 NI maxMem;
156 NI freeMem;
157 NI occ;
158 NI lastSize;
159 tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
160 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
161 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
162 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
163 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
164 NIM_BOOL locked;
165 NIM_BOOL blockChunkSizeIncrease;
166 NI nextChunkSize;
167 tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
168 tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
169 };
170 struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {
171 NI stackScans;
172 NI cycleCollections;
173 NI maxThreshold;
174 NI maxStackSize;
175 NI maxStackCells;
176 NI cycleTableSize;
177 NI64 maxPause;
178 };
179 struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {
180 NI counter;
181 NI max;
182 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
183 tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
184 };
185 struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {
186 tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
187 NI cycleThreshold;
188 NI zctThreshold;
189 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
190 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
191 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
192 NI recGcLock;
193 tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
194 tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
195 tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
196 tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
197 NI gcThreadId;
198 };
199 typedef NU8 tySet_tyChar__nmiMWKVIe46vacnhAFrQvw[32];
200 N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
201 static N_NIMCALL(void, Marker_tyRef__WO3j4yVQ0yN0aRCt9bFEbtg)(void* p, NI op);
202 N_LIB_PRIVATE N_NOINLINE(void*, newObj)(TNimType* typ, NI size);
203 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, open__systemZio_391)(FILE** f, NimStringDesc* filename, tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg mode, NI bufSize);
204 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size);
205 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
206 N_LIB_PRIVATE N_NIMCALL(NI, readBuffer__systemZio_144)(FILE* f, void* buffer, NI len);
207 N_LIB_PRIVATE N_NIMCALL(void, close__systemZio_218)(FILE* f);
208 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
209 static N_INLINE(void, nimGCunrefNoCycle)(void* p);
210 static N_INLINE(void, decRef__system_5315)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
211 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y);
212 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y);
213 static N_INLINE(void, rtlAddZCT__system_5313)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
214 N_LIB_PRIVATE N_NOINLINE(void, addZCT__system_5264)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
215 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5270)(void* usr);
216 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
217 N_LIB_PRIVATE N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
218 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
219 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, readLine__systemZio_240)(FILE* f, NimStringDesc** line);
220 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
221 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
222 static N_INLINE(void, asgnRef)(void** dest, void* src);
223 static N_INLINE(void, incRef__system_5308)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
224 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y);
225 N_LIB_PRIVATE N_NIMCALL(void, write__systemZio_205)(FILE* f, NimStringDesc* s);
226 N_LIB_PRIVATE N_NIMCALL(NI, writeBuffer__systemZio_176)(FILE* f, void* buffer, NI len);
227 N_LIB_PRIVATE N_NIMCALL(void, llStreamWrite__llstream_214)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, NimStringDesc* data);
228 N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
229 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, readLineFromStdin__llstream_112)(NimStringDesc* prompt, NimStringDesc** line);
230 N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
231 N_LIB_PRIVATE N_NIMCALL(NI, countTriples__llstream_142)(NimStringDesc* s);
232 static N_INLINE(NIM_BOOL, continueLine__llstream_134)(NimStringDesc* line, NIM_BOOL inTripleString);
233 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, endsWith__llstream_116)(NimStringDesc* x, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw s);
234 extern TNimType NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_;
235 N_LIB_PRIVATE TNimType NTItllstream__a5oZYQ9aTktYME2449ayEi6g_;
236 N_LIB_PRIVATE TNimType NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_;
237 extern TNimType NTIfile__XBeRj4rw9bUuE7CB3DS1rgg_;
238 extern TNimType NTIstring__77mFvmsOLKik79ci2hXkHEg_;
239 extern TNimType NTIint__rR5Bzr1D5krxoo1NcNyeMA_;
240 N_LIB_PRIVATE TNimType NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_;
241 extern TNimType NTIpointer__vr5DoT1jILTGdRlYv1OYpw_;
242 extern TNimType NTIrefobject__HsJiUUcO9cHBdUCi0HwkSTA_;
243 N_LIB_PRIVATE TNimType NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_;
244 N_LIB_PRIVATE TNimType NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_;
245 static NIM_CONST tyProc__HzVCwACFYM9cx9aV62PdjtuA TM__ml9aueblxGz9aYsRLKvPmpow_8 = {NIM_NIL,NIM_NIL};
246 STRING_LITERAL(TM__ml9aueblxGz9aYsRLKvPmpow_11, "\012", 1);
247 STRING_LITERAL(TM__ml9aueblxGz9aYsRLKvPmpow_12, ">>> ", 4);
248 STRING_LITERAL(TM__ml9aueblxGz9aYsRLKvPmpow_13, "... ", 4);
249 static NIM_CONST tySet_tyChar__nmiMWKVIe46vacnhAFrQvw TM__ml9aueblxGz9aYsRLKvPmpow_14 = {
250 0x00, 0x00, 0x00, 0x00, 0x7a, 0xbc, 0x00, 0xf4,
251 0x01, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x50,
252 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
253 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
254 ;
255 extern tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__system_5217;
N_NIMCALL(void,Marker_tyRef__WO3j4yVQ0yN0aRCt9bFEbtg)256 static N_NIMCALL(void, Marker_tyRef__WO3j4yVQ0yN0aRCt9bFEbtg)(void* p, NI op) {
257 	tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* a;
258 	a = (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*)p;
259 	nimGCvisit((void*)(*a).s, op);
260 	nimGCvisit((void*)(*a).repl.ClE_0, op);
261 	nimGCvisit((void*)(*a).onPrompt.ClE_0, op);
262 }
N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g *,llStreamOpen__llstream_69)263 N_LIB_PRIVATE N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*, llStreamOpen__llstream_69)(NimStringDesc* filename, tyEnum_FileMode__ZJfK20XeZ9bv2j1pZjw9aswg mode) {
264 	tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* result;
265 	result = NIM_NIL;
266 	result = (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*) newObj((&NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_), sizeof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g));
267 	(*result).Sup.m_type = (&NTItllstream__a5oZYQ9aTktYME2449ayEi6g_);
268 	(*result).kind = ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2);
269 	{
270 		NIM_BOOL T3_;
271 		T3_ = (NIM_BOOL)0;
272 		T3_ = open__systemZio_391(&(*result).f, filename, mode, ((NI) -1));
273 		if (!!(T3_)) goto LA4_;
274 		result = ((tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*) NIM_NIL);
275 	}
276 	LA4_: ;
277 	return result;
278 }
N_INLINE(void,nimCopyMem)279 static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) {
280 	void* T1_;
281 	T1_ = (void*)0;
282 	T1_ = memcpy(dest, source, ((size_t) (size)));
283 }
N_INLINE(void,copyMem__system_1727)284 static N_INLINE(void, copyMem__system_1727)(void* dest, void* source, NI size) {
285 	nimCopyMem(dest, source, size);
286 }
N_NIMCALL(NI,llStreamRead__llstream_177)287 N_LIB_PRIVATE N_NIMCALL(NI, llStreamRead__llstream_177)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, void* buf, NI bufLen) {
288 	NI result;
289 	result = (NI)0;
290 	switch ((*s).kind) {
291 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 0):
292 	{
293 		result = ((NI) 0);
294 	}
295 	break;
296 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 1):
297 	{
298 		result = ((bufLen <= (NI)(((*s).s ? (*s).s->Sup.len : 0) - (*s).rd)) ? bufLen : (NI)(((*s).s ? (*s).s->Sup.len : 0) - (*s).rd));
299 		{
300 			if (!(((NI) 0) < result)) goto LA5_;
301 			copyMem__system_1727(buf, ((void*) ((&(*s).s->data[(NI)(((NI) 0) + (*s).rd)]))), ((NI) (result)));
302 			(*s).rd += result;
303 		}
304 		LA5_: ;
305 	}
306 	break;
307 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2):
308 	{
309 		result = readBuffer__systemZio_144((*s).f, buf, ((NI) (bufLen)));
310 	}
311 	break;
312 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 3):
313 	{
314 		{
315 			if (!!(((*s).onPrompt.ClP_0 == TM__ml9aueblxGz9aYsRLKvPmpow_8.ClP_0 && (*s).onPrompt.ClE_0 == TM__ml9aueblxGz9aYsRLKvPmpow_8.ClE_0))) goto LA11_;
316 			(*s).onPrompt.ClE_0? (*s).onPrompt.ClP_0((*s).onPrompt.ClE_0):((TM__ml9aueblxGz9aYsRLKvPmpow_9)((*s).onPrompt.ClP_0))();
317 		}
318 		LA11_: ;
319 		result = (*s).repl.ClE_0? (*s).repl.ClP_0(s, buf, bufLen, (*s).repl.ClE_0):((TM__ml9aueblxGz9aYsRLKvPmpow_10)((*s).repl.ClP_0))(s, buf, bufLen);
320 	}
321 	break;
322 	}
323 	return result;
324 }
N_NIMCALL(void,llStreamClose__llstream_110)325 N_LIB_PRIVATE N_NIMCALL(void, llStreamClose__llstream_110)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s) {
326 	switch ((*s).kind) {
327 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 0):
328 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 1):
329 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 3):
330 	{
331 	}
332 	break;
333 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2):
334 	{
335 		close__systemZio_218((*s).f);
336 	}
337 	break;
338 	}
339 }
N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g *,llStreamOpen__llstream_63)340 N_LIB_PRIVATE N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*, llStreamOpen__llstream_63)(FILE* f) {
341 	tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* result;
342 	result = NIM_NIL;
343 	result = (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*) newObj((&NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_), sizeof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g));
344 	(*result).Sup.m_type = (&NTItllstream__a5oZYQ9aTktYME2449ayEi6g_);
345 	(*result).f = f;
346 	(*result).kind = ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2);
347 	return result;
348 }
N_INLINE(NI,minuspercent___system_716)349 static N_INLINE(NI, minuspercent___system_716)(NI x, NI y) {
350 	NI result;
351 	result = (NI)0;
352 	result = ((NI) ((NU)((NU32)(((NU) (x))) - (NU32)(((NU) (y))))));
353 	return result;
354 }
N_INLINE(NIM_BOOL,ltpercent___system_1005)355 static N_INLINE(NIM_BOOL, ltpercent___system_1005)(NI x, NI y) {
356 	NIM_BOOL result;
357 	result = (NIM_BOOL)0;
358 	result = ((NU32)(((NU) (x))) < (NU32)(((NU) (y))));
359 	return result;
360 }
N_INLINE(void,rtlAddZCT__system_5313)361 static N_INLINE(void, rtlAddZCT__system_5313)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
362 	addZCT__system_5264((&gch__system_5217.zct), c);
363 }
N_INLINE(void,decRef__system_5315)364 static N_INLINE(void, decRef__system_5315)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
365 	(*c).refcount = minuspercent___system_716((*c).refcount, ((NI) 8));
366 	{
367 		NIM_BOOL T3_;
368 		T3_ = (NIM_BOOL)0;
369 		T3_ = ltpercent___system_1005((*c).refcount, ((NI) 8));
370 		if (!T3_) goto LA4_;
371 		rtlAddZCT__system_5313(c);
372 	}
373 	LA4_: ;
374 }
N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g *,usrToCell__system_5270)375 static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__system_5270)(void* usr) {
376 	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result;
377 	NI T1_;
378 	result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
379 	T1_ = (NI)0;
380 	T1_ = minuspercent___system_716(((NI) (ptrdiff_t) (usr)), ((NI) 8));
381 	result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_));
382 	return result;
383 }
N_INLINE(void,nimGCunrefNoCycle)384 static N_INLINE(void, nimGCunrefNoCycle)(void* p) {
385 	tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
386 	T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
387 	T1_ = usrToCell__system_5270(p);
388 	decRef__system_5315(T1_);
389 }
N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g *,llStreamOpen__llstream_30)390 N_LIB_PRIVATE N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*, llStreamOpen__llstream_30)(NimStringDesc* data) {
391 	tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* result;
392 	NimStringDesc* T1_;
393 	result = NIM_NIL;
394 	result = (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*) newObj((&NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_), sizeof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g));
395 	(*result).Sup.m_type = (&NTItllstream__a5oZYQ9aTktYME2449ayEi6g_);
396 	T1_ = NIM_NIL;
397 	T1_ = (*result).s; (*result).s = copyStringRC1(data);
398 	if (T1_) nimGCunrefNoCycle(T1_);
399 	(*result).kind = ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 1);
400 	return result;
401 }
N_NIMCALL(NIM_BOOL,llStreamReadLine__llstream_194)402 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, llStreamReadLine__llstream_194)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, NimStringDesc** line) {
403 	NIM_BOOL result;
404 	result = (NIM_BOOL)0;
405 	unsureAsgnRef((void**) (&(*line)), setLengthStr((*line), ((NI) 0)));
406 	switch ((*s).kind) {
407 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 0):
408 	{
409 		result = NIM_TRUE;
410 	}
411 	break;
412 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 1):
413 	{
414 		NIM_BOOL T12_;
415 		{
416 			while (1) {
417 				if (!((*s).rd < ((*s).s ? (*s).s->Sup.len : 0))) goto LA4;
418 				switch (((NU8)((*s).s->data[(*s).rd]))) {
419 				case 13:
420 				{
421 					(*s).rd += ((NI) 1);
422 					{
423 						if (!((NU8)((*s).s->data[(*s).rd]) == (NU8)(10))) goto LA8_;
424 						(*s).rd += ((NI) 1);
425 					}
426 					LA8_: ;
427 					goto LA3;
428 				}
429 				break;
430 				case 10:
431 				{
432 					(*s).rd += ((NI) 1);
433 					goto LA3;
434 				}
435 				break;
436 				default:
437 				{
438 					unsureAsgnRef((void**) (&(*line)), addChar((*line), (*s).s->data[(*s).rd]));
439 					(*s).rd += ((NI) 1);
440 				}
441 				break;
442 				}
443 			} LA4: ;
444 		} LA3: ;
445 		T12_ = (NIM_BOOL)0;
446 		T12_ = (((NI) 0) < ((*line) ? (*line)->Sup.len : 0));
447 		if (T12_) goto LA13_;
448 		T12_ = ((*s).rd < ((*s).s ? (*s).s->Sup.len : 0));
449 		LA13_: ;
450 		result = T12_;
451 	}
452 	break;
453 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2):
454 	{
455 		result = readLine__systemZio_240((*s).f, line);
456 	}
457 	break;
458 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 3):
459 	{
460 		result = readLine__systemZio_240(stdin, line);
461 	}
462 	break;
463 	}
464 	return result;
465 }
N_INLINE(void,appendString)466 static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
467 	{
468 		if (!!((src == ((NimStringDesc*) NIM_NIL)))) goto LA3_;
469 		copyMem__system_1727(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
470 		(*dest).Sup.len += (*src).Sup.len;
471 	}
472 	LA3_: ;
473 }
N_INLINE(NI,pluspercent___system_696)474 static N_INLINE(NI, pluspercent___system_696)(NI x, NI y) {
475 	NI result;
476 	result = (NI)0;
477 	result = ((NI) ((NU)((NU32)(((NU) (x))) + (NU32)(((NU) (y))))));
478 	return result;
479 }
N_INLINE(void,incRef__system_5308)480 static N_INLINE(void, incRef__system_5308)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
481 	(*c).refcount = pluspercent___system_696((*c).refcount, ((NI) 8));
482 }
N_INLINE(void,asgnRef)483 static N_INLINE(void, asgnRef)(void** dest, void* src) {
484 	{
485 		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
486 		if (!!((src == NIM_NIL))) goto LA3_;
487 		T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
488 		T5_ = usrToCell__system_5270(src);
489 		incRef__system_5308(T5_);
490 	}
491 	LA3_: ;
492 	{
493 		tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
494 		if (!!(((*dest) == NIM_NIL))) goto LA8_;
495 		T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
496 		T10_ = usrToCell__system_5270((*dest));
497 		decRef__system_5315(T10_);
498 	}
499 	LA8_: ;
500 	(*dest) = src;
501 }
N_NIMCALL(void,llStreamWrite__llstream_214)502 N_LIB_PRIVATE N_NIMCALL(void, llStreamWrite__llstream_214)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, NimStringDesc* data) {
503 	switch ((*s).kind) {
504 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 0):
505 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 3):
506 	{
507 	}
508 	break;
509 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 1):
510 	{
511 		asgnRef((void**) (&(*s).s), resizeString((*s).s, (data ? data->Sup.len : 0) + 0));
512 appendString((*s).s, data);
513 		(*s).wr += (data ? data->Sup.len : 0);
514 	}
515 	break;
516 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2):
517 	{
518 		write__systemZio_205((*s).f, data);
519 	}
520 	break;
521 	}
522 }
N_NIMCALL(NIM_BOOL,endsWith__llstream_116)523 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, endsWith__llstream_116)(NimStringDesc* x, tySet_tyChar__nmiMWKVIe46vacnhAFrQvw s) {
524 	NIM_BOOL result;
525 	NI i;
526 	result = (NIM_BOOL)0;
527 	i = (NI)((x ? x->Sup.len : 0) - ((NI) 1));
528 	{
529 		while (1) {
530 			NIM_BOOL T3_;
531 			T3_ = (NIM_BOOL)0;
532 			T3_ = (((NI) 0) <= i);
533 			if (!(T3_)) goto LA4_;
534 			T3_ = ((NU8)(x->data[i]) == (NU8)(32));
535 			LA4_: ;
536 			if (!T3_) goto LA2;
537 			i -= ((NI) 1);
538 		} LA2: ;
539 	}
540 	{
541 		NIM_BOOL T7_;
542 		T7_ = (NIM_BOOL)0;
543 		T7_ = (((NI) 0) <= i);
544 		if (!(T7_)) goto LA8_;
545 		T7_ = ((s[(NU)(((NU8)(x->data[i])))>>3] &(1U<<((NU)(((NU8)(x->data[i])))&7U)))!=0);
546 		LA8_: ;
547 		if (!T7_) goto LA9_;
548 		result = NIM_TRUE;
549 	}
550 	LA9_: ;
551 	return result;
552 }
N_NIMCALL(void,llStreamWrite__llstream_224)553 N_LIB_PRIVATE N_NIMCALL(void, llStreamWrite__llstream_224)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, NIM_CHAR data) {
554 	NIM_CHAR c;
555 	c = (NIM_CHAR)0;
556 	switch ((*s).kind) {
557 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 0):
558 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 3):
559 	{
560 	}
561 	break;
562 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 1):
563 	{
564 		asgnRef((void**) (&(*s).s), addChar((*s).s, data));
565 		(*s).wr += ((NI) 1);
566 	}
567 	break;
568 	case ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 2):
569 	{
570 		NI T4_;
571 		c = data;
572 		T4_ = (NI)0;
573 		T4_ = writeBuffer__systemZio_176((*s).f, ((void*) ((&c))), ((NI) 1));
574 		(void)(T4_);
575 	}
576 	break;
577 	}
578 }
N_NIMCALL(void,llStreamWriteln__llstream_221)579 N_LIB_PRIVATE N_NIMCALL(void, llStreamWriteln__llstream_221)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, NimStringDesc* data) {
580 	llStreamWrite__llstream_214(s, data);
581 	llStreamWrite__llstream_214(s, ((NimStringDesc*) &TM__ml9aueblxGz9aYsRLKvPmpow_11));
582 }
N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g *,llStreamOpenStdIn__llstream_85)583 N_LIB_PRIVATE N_NIMCALL(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*, llStreamOpenStdIn__llstream_85)(tyProc__9cZV5JMJLsdOPMv55VbpOVg r, tyProc__HzVCwACFYM9cx9aV62PdjtuA onPrompt) {
584 	tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* result;
585 	result = NIM_NIL;
586 	result = (tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*) newObj((&NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_), sizeof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g));
587 	(*result).Sup.m_type = (&NTItllstream__a5oZYQ9aTktYME2449ayEi6g_);
588 	(*result).kind = ((tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ) 3);
589 	asgnRef((void**) (&(*result).s), ((NimStringDesc*) NIM_NIL));
590 	(*result).lineOffset = ((NI) -1);
591 	asgnRef((void**) (&(*result).repl.ClE_0), r.ClE_0);
592 	(*result).repl.ClP_0 = r.ClP_0;
593 	asgnRef((void**) (&(*result).onPrompt.ClE_0), onPrompt.ClE_0);
594 	(*result).onPrompt.ClP_0 = onPrompt.ClP_0;
595 	return result;
596 }
N_NIMCALL(NIM_BOOL,readLineFromStdin__llstream_112)597 N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, readLineFromStdin__llstream_112)(NimStringDesc* prompt, NimStringDesc** line) {
598 	NIM_BOOL result;
599 	result = (NIM_BOOL)0;
600 	write__systemZio_205(stdout, prompt);
601 	result = readLine__systemZio_240(stdin, line);
602 	{
603 		if (!!(result)) goto LA3_;
604 		write__systemZio_205(stdout, ((NimStringDesc*) &TM__ml9aueblxGz9aYsRLKvPmpow_11));
605 		exit(((NI) 0));
606 	}
607 	LA3_: ;
608 	return result;
609 }
N_NIMCALL(NI,countTriples__llstream_142)610 N_LIB_PRIVATE N_NIMCALL(NI, countTriples__llstream_142)(NimStringDesc* s) {
611 	NI result;
612 	NI i;
613 	result = (NI)0;
614 	i = ((NI) 0);
615 	{
616 		while (1) {
617 			if (!((NI)(i + ((NI) 2)) < (s ? s->Sup.len : 0))) goto LA2;
618 			{
619 				NIM_BOOL T5_;
620 				NIM_BOOL T6_;
621 				T5_ = (NIM_BOOL)0;
622 				T6_ = (NIM_BOOL)0;
623 				T6_ = ((NU8)(s->data[i]) == (NU8)(34));
624 				if (!(T6_)) goto LA7_;
625 				T6_ = ((NU8)(s->data[(NI)(i + ((NI) 1))]) == (NU8)(34));
626 				LA7_: ;
627 				T5_ = T6_;
628 				if (!(T5_)) goto LA8_;
629 				T5_ = ((NU8)(s->data[(NI)(i + ((NI) 2))]) == (NU8)(34));
630 				LA8_: ;
631 				if (!T5_) goto LA9_;
632 				result += ((NI) 1);
633 				i += ((NI) 2);
634 			}
635 			LA9_: ;
636 			i += ((NI) 1);
637 		} LA2: ;
638 	}
639 	return result;
640 }
N_INLINE(NIM_BOOL,continueLine__llstream_134)641 static N_INLINE(NIM_BOOL, continueLine__llstream_134)(NimStringDesc* line, NIM_BOOL inTripleString) {
642 	NIM_BOOL result;
643 	NIM_BOOL T1_;
644 	NIM_BOOL T3_;
645 	NIM_BOOL T5_;
646 	result = (NIM_BOOL)0;
647 	T1_ = (NIM_BOOL)0;
648 	T1_ = inTripleString;
649 	if (T1_) goto LA2_;
650 	T3_ = (NIM_BOOL)0;
651 	T3_ = (((NI) 0) < (line ? line->Sup.len : 0));
652 	if (!(T3_)) goto LA4_;
653 	T5_ = (NIM_BOOL)0;
654 	T5_ = ((NU8)(line->data[((NI) 0)]) == (NU8)(32));
655 	if (T5_) goto LA6_;
656 	T5_ = endsWith__llstream_116(line, TM__ml9aueblxGz9aYsRLKvPmpow_14);
657 	LA6_: ;
658 	T3_ = T5_;
659 	LA4_: ;
660 	T1_ = T3_;
661 	LA2_: ;
662 	result = T1_;
663 	return result;
664 }
N_NIMCALL(NI,llReadFromStdin__llstream_81)665 N_LIB_PRIVATE N_NIMCALL(NI, llReadFromStdin__llstream_81)(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g* s, void* buf, NI bufLen) {
666 	NI result;
667 	NimStringDesc* line;
668 	NI triples;
669 	result = (NI)0;
670 	asgnRef((void**) (&(*s).s), ((NimStringDesc*) NIM_NIL));
671 	(*s).rd = ((NI) 0);
672 	line = rawNewString(((NI) 120));
673 	triples = ((NI) 0);
674 	{
675 		while (1) {
676 			NimStringDesc* T3_;
677 			NIM_BOOL T9_;
678 			NI T10_;
679 			T3_ = NIM_NIL;
680 			{
681 				if (!(((*s).s ? (*s).s->Sup.len : 0) == ((NI) 0))) goto LA6_;
682 				T3_ = copyString(((NimStringDesc*) &TM__ml9aueblxGz9aYsRLKvPmpow_12));
683 			}
684 			goto LA4_;
685 			LA6_: ;
686 			{
687 				T3_ = copyString(((NimStringDesc*) &TM__ml9aueblxGz9aYsRLKvPmpow_13));
688 			}
689 			LA4_: ;
690 			T9_ = (NIM_BOOL)0;
691 			T9_ = readLineFromStdin__llstream_112(T3_, (&line));
692 			if (!T9_) goto LA2;
693 			asgnRef((void**) (&(*s).s), resizeString((*s).s, (line ? line->Sup.len : 0) + 0));
694 appendString((*s).s, line);
695 			asgnRef((void**) (&(*s).s), resizeString((*s).s, 1));
696 appendString((*s).s, ((NimStringDesc*) &TM__ml9aueblxGz9aYsRLKvPmpow_11));
697 			T10_ = (NI)0;
698 			T10_ = countTriples__llstream_142(line);
699 			triples += T10_;
700 			{
701 				NIM_BOOL T13_;
702 				T13_ = (NIM_BOOL)0;
703 				T13_ = continueLine__llstream_134(line, ((NI)(triples & ((NI) 1)) == ((NI) 1)));
704 				if (!!(T13_)) goto LA14_;
705 				goto LA1;
706 			}
707 			LA14_: ;
708 		} LA2: ;
709 	} LA1: ;
710 	(*s).lineOffset += ((NI) 1);
711 	result = ((bufLen <= (NI)(((*s).s ? (*s).s->Sup.len : 0) - (*s).rd)) ? bufLen : (NI)(((*s).s ? (*s).s->Sup.len : 0) - (*s).rd));
712 	{
713 		if (!(((NI) 0) < result)) goto LA18_;
714 		copyMem__system_1727(buf, ((void*) ((&(*s).s->data[(*s).rd]))), ((NI) (result)));
715 		(*s).rd += result;
716 	}
717 	LA18_: ;
718 	return result;
719 }
N_NIMCALL(void,compiler_llstreamDatInit000)720 N_LIB_PRIVATE N_NIMCALL(void, compiler_llstreamDatInit000)(void) {
721 static TNimNode* TM__ml9aueblxGz9aYsRLKvPmpow_2_8[8];
722 static TNimNode* TM__ml9aueblxGz9aYsRLKvPmpow_3_4[4];
723 NI TM__ml9aueblxGz9aYsRLKvPmpow_5;
724 static char* NIM_CONST TM__ml9aueblxGz9aYsRLKvPmpow_4[4] = {
725 "llsNone",
726 "llsString",
727 "llsFile",
728 "llsStdIn"};
729 static TNimNode* TM__ml9aueblxGz9aYsRLKvPmpow_6_2[2];
730 static TNimNode* TM__ml9aueblxGz9aYsRLKvPmpow_7_2[2];
731 static TNimNode TM__ml9aueblxGz9aYsRLKvPmpow_0[20];
732 NTItllstream__a5oZYQ9aTktYME2449ayEi6g_.size = sizeof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g);
733 NTItllstream__a5oZYQ9aTktYME2449ayEi6g_.align = NIM_ALIGNOF(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g);
734 NTItllstream__a5oZYQ9aTktYME2449ayEi6g_.kind = 17;
735 NTItllstream__a5oZYQ9aTktYME2449ayEi6g_.base = (&NTIrootobj__ytyiCJqK439aF9cIibuRVpAg_);
736 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[0] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[1];
737 NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_.size = sizeof(tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ);
738 NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_.align = NIM_ALIGNOF(tyEnum_TLLStreamKind__jVcKY16LbOamXE9bxXUD6pQ);
739 NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_.kind = 14;
740 NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_.base = 0;
741 NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_.flags = 3;
742 for (TM__ml9aueblxGz9aYsRLKvPmpow_5 = 0; TM__ml9aueblxGz9aYsRLKvPmpow_5 < 4; TM__ml9aueblxGz9aYsRLKvPmpow_5++) {
743 TM__ml9aueblxGz9aYsRLKvPmpow_0[TM__ml9aueblxGz9aYsRLKvPmpow_5+2].kind = 1;
744 TM__ml9aueblxGz9aYsRLKvPmpow_0[TM__ml9aueblxGz9aYsRLKvPmpow_5+2].offset = TM__ml9aueblxGz9aYsRLKvPmpow_5;
745 TM__ml9aueblxGz9aYsRLKvPmpow_0[TM__ml9aueblxGz9aYsRLKvPmpow_5+2].name = TM__ml9aueblxGz9aYsRLKvPmpow_4[TM__ml9aueblxGz9aYsRLKvPmpow_5];
746 TM__ml9aueblxGz9aYsRLKvPmpow_3_4[TM__ml9aueblxGz9aYsRLKvPmpow_5] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[TM__ml9aueblxGz9aYsRLKvPmpow_5+2];
747 }
748 TM__ml9aueblxGz9aYsRLKvPmpow_0[6].len = 4; TM__ml9aueblxGz9aYsRLKvPmpow_0[6].kind = 2; TM__ml9aueblxGz9aYsRLKvPmpow_0[6].sons = &TM__ml9aueblxGz9aYsRLKvPmpow_3_4[0];
749 NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_.node = &TM__ml9aueblxGz9aYsRLKvPmpow_0[6];
750 TM__ml9aueblxGz9aYsRLKvPmpow_0[1].kind = 1;
751 TM__ml9aueblxGz9aYsRLKvPmpow_0[1].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, kind);
752 TM__ml9aueblxGz9aYsRLKvPmpow_0[1].typ = (&NTItllstreamkind__jVcKY16LbOamXE9bxXUD6pQ_);
753 TM__ml9aueblxGz9aYsRLKvPmpow_0[1].name = "kind";
754 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[1] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[7];
755 TM__ml9aueblxGz9aYsRLKvPmpow_0[7].kind = 1;
756 TM__ml9aueblxGz9aYsRLKvPmpow_0[7].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, f);
757 TM__ml9aueblxGz9aYsRLKvPmpow_0[7].typ = (&NTIfile__XBeRj4rw9bUuE7CB3DS1rgg_);
758 TM__ml9aueblxGz9aYsRLKvPmpow_0[7].name = "f";
759 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[2] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[8];
760 TM__ml9aueblxGz9aYsRLKvPmpow_0[8].kind = 1;
761 TM__ml9aueblxGz9aYsRLKvPmpow_0[8].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, s);
762 TM__ml9aueblxGz9aYsRLKvPmpow_0[8].typ = (&NTIstring__77mFvmsOLKik79ci2hXkHEg_);
763 TM__ml9aueblxGz9aYsRLKvPmpow_0[8].name = "s";
764 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[3] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[9];
765 TM__ml9aueblxGz9aYsRLKvPmpow_0[9].kind = 1;
766 TM__ml9aueblxGz9aYsRLKvPmpow_0[9].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, rd);
767 TM__ml9aueblxGz9aYsRLKvPmpow_0[9].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
768 TM__ml9aueblxGz9aYsRLKvPmpow_0[9].name = "rd";
769 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[4] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[10];
770 TM__ml9aueblxGz9aYsRLKvPmpow_0[10].kind = 1;
771 TM__ml9aueblxGz9aYsRLKvPmpow_0[10].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, wr);
772 TM__ml9aueblxGz9aYsRLKvPmpow_0[10].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
773 TM__ml9aueblxGz9aYsRLKvPmpow_0[10].name = "wr";
774 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[5] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[11];
775 TM__ml9aueblxGz9aYsRLKvPmpow_0[11].kind = 1;
776 TM__ml9aueblxGz9aYsRLKvPmpow_0[11].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, lineOffset);
777 TM__ml9aueblxGz9aYsRLKvPmpow_0[11].typ = (&NTIint__rR5Bzr1D5krxoo1NcNyeMA_);
778 TM__ml9aueblxGz9aYsRLKvPmpow_0[11].name = "lineOffset";
779 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[6] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[12];
780 NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
781 NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_.align = NIM_ALIGNOF(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
782 NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_.kind = 18;
783 NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_.base = 0;
784 TM__ml9aueblxGz9aYsRLKvPmpow_6_2[0] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[14];
785 TM__ml9aueblxGz9aYsRLKvPmpow_0[14].kind = 1;
786 TM__ml9aueblxGz9aYsRLKvPmpow_0[14].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0);
787 TM__ml9aueblxGz9aYsRLKvPmpow_0[14].typ = (&NTIpointer__vr5DoT1jILTGdRlYv1OYpw_);
788 TM__ml9aueblxGz9aYsRLKvPmpow_0[14].name = "Field0";
789 TM__ml9aueblxGz9aYsRLKvPmpow_6_2[1] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[15];
790 TM__ml9aueblxGz9aYsRLKvPmpow_0[15].kind = 1;
791 TM__ml9aueblxGz9aYsRLKvPmpow_0[15].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1);
792 TM__ml9aueblxGz9aYsRLKvPmpow_0[15].typ = (&NTIrefobject__HsJiUUcO9cHBdUCi0HwkSTA_);
793 TM__ml9aueblxGz9aYsRLKvPmpow_0[15].name = "Field1";
794 TM__ml9aueblxGz9aYsRLKvPmpow_0[13].len = 2; TM__ml9aueblxGz9aYsRLKvPmpow_0[13].kind = 2; TM__ml9aueblxGz9aYsRLKvPmpow_0[13].sons = &TM__ml9aueblxGz9aYsRLKvPmpow_6_2[0];
795 NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_.node = &TM__ml9aueblxGz9aYsRLKvPmpow_0[13];
796 TM__ml9aueblxGz9aYsRLKvPmpow_0[12].kind = 1;
797 TM__ml9aueblxGz9aYsRLKvPmpow_0[12].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, repl);
798 TM__ml9aueblxGz9aYsRLKvPmpow_0[12].typ = (&NTItllrepl__9cZV5JMJLsdOPMv55VbpOVg_);
799 TM__ml9aueblxGz9aYsRLKvPmpow_0[12].name = "repl";
800 TM__ml9aueblxGz9aYsRLKvPmpow_2_8[7] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[16];
801 NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
802 NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_.align = NIM_ALIGNOF(tyTuple__JfHvHzMrhKkWAUvQKe0i1A);
803 NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_.kind = 18;
804 NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_.base = 0;
805 TM__ml9aueblxGz9aYsRLKvPmpow_7_2[0] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[18];
806 TM__ml9aueblxGz9aYsRLKvPmpow_0[18].kind = 1;
807 TM__ml9aueblxGz9aYsRLKvPmpow_0[18].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0);
808 TM__ml9aueblxGz9aYsRLKvPmpow_0[18].typ = (&NTIpointer__vr5DoT1jILTGdRlYv1OYpw_);
809 TM__ml9aueblxGz9aYsRLKvPmpow_0[18].name = "Field0";
810 TM__ml9aueblxGz9aYsRLKvPmpow_7_2[1] = &TM__ml9aueblxGz9aYsRLKvPmpow_0[19];
811 TM__ml9aueblxGz9aYsRLKvPmpow_0[19].kind = 1;
812 TM__ml9aueblxGz9aYsRLKvPmpow_0[19].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1);
813 TM__ml9aueblxGz9aYsRLKvPmpow_0[19].typ = (&NTIrefobject__HsJiUUcO9cHBdUCi0HwkSTA_);
814 TM__ml9aueblxGz9aYsRLKvPmpow_0[19].name = "Field1";
815 TM__ml9aueblxGz9aYsRLKvPmpow_0[17].len = 2; TM__ml9aueblxGz9aYsRLKvPmpow_0[17].kind = 2; TM__ml9aueblxGz9aYsRLKvPmpow_0[17].sons = &TM__ml9aueblxGz9aYsRLKvPmpow_7_2[0];
816 NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_.node = &TM__ml9aueblxGz9aYsRLKvPmpow_0[17];
817 TM__ml9aueblxGz9aYsRLKvPmpow_0[16].kind = 1;
818 TM__ml9aueblxGz9aYsRLKvPmpow_0[16].offset = offsetof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g, onPrompt);
819 TM__ml9aueblxGz9aYsRLKvPmpow_0[16].typ = (&NTIonprompt__HzVCwACFYM9cx9aV62PdjtuA_);
820 TM__ml9aueblxGz9aYsRLKvPmpow_0[16].name = "onPrompt";
821 TM__ml9aueblxGz9aYsRLKvPmpow_0[0].len = 8; TM__ml9aueblxGz9aYsRLKvPmpow_0[0].kind = 2; TM__ml9aueblxGz9aYsRLKvPmpow_0[0].sons = &TM__ml9aueblxGz9aYsRLKvPmpow_2_8[0];
822 NTItllstream__a5oZYQ9aTktYME2449ayEi6g_.node = &TM__ml9aueblxGz9aYsRLKvPmpow_0[0];
823 NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_.size = sizeof(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*);
824 NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_.align = NIM_ALIGNOF(tyObject_TLLStream__a5oZYQ9aTktYME2449ayEi6g*);
825 NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_.kind = 22;
826 NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_.base = (&NTItllstream__a5oZYQ9aTktYME2449ayEi6g_);
827 NTIpllstream__WO3j4yVQ0yN0aRCt9bFEbtg_.marker = Marker_tyRef__WO3j4yVQ0yN0aRCt9bFEbtg;
828 }
829 
830