summary refs log tree commit diff stats
path: root/compiler/vm.nim
Commit message (Collapse)AuthorAgeFilesLines
* big refactoring: step 1Araq2016-10-311-18/+20
|
* fixes #4915andri lim2016-10-271-4/+8
|
* Merge pull request #4872 from flyx/gorgefixAndreas Rumpf2016-10-241-1/+2
|\ | | | | Fixes #4871
| * Fixes #4871Felix Krause2016-10-091-1/+2
| |
* | fixes #4906Andreas Rumpf2016-10-211-1/+1
| |
* | fixes #4856Andreas Rumpf2016-10-201-1/+1
|/
* fixes #4803Andreas Rumpf2016-09-241-1/+2
|
* VM: 'raises' in an 'except' doesn't cause an endless loop anymoreAraq2016-09-141-2/+10
|
* compiler almost free of deprecated expr/stmt namesAndreas Rumpf2016-07-301-3/+3
|
* stdlib and compiler don't use .immediate anymoreAndreas Rumpf2016-07-291-10/+9
|
* cleanup of #4113Andreas Rumpf2016-05-281-27/+27
|
* getTypeInst and getTypeImpl mostly working now and added testJames Osborn2016-05-041-1/+8
|
* added getTypeInst which includes generic parametersJames Osborn2016-05-041-12/+21
|
* fixes #3731Andreas Rumpf2016-04-041-1/+1
|
* fixes #3804Andreas Rumpf2016-04-041-1/+1
|
* fixes #3973Andreas Rumpf2016-04-031-2/+5
|
* fixes #3872Andreas Rumpf2016-03-041-4/+5
|
* Fixed deprecation warnings while Nim compiles.Hans Raaf2016-01-181-1/+1
| | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings.
* Merge pull request #3651 from jangko/vm_'excl'Andreas Rumpf2015-12-211-1/+1
|\ | | | | fixed compile time `excl ` cause SIGSEGV #3639
| * fixed compile time `excl ` cause SIGSEGV #3639jangko2015-12-171-1/+1
| |
* | fixed VM touint conversion #2514jangko2015-12-191-1/+8
|/
* fixes #3546Araq2015-11-181-2/+5
|
* allows macros to access documentation commentsAraq2015-11-181-0/+1
|
* msgs: One msgWriteln with optional flagsAdam Strzelecki2015-10-221-2/+2
| | | | Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.
* compiler/vm: Use stdout too in VM time echoAdam Strzelecki2015-10-161-2/+2
| | | | | Now VM time echo outputs to stdout too, same as compile time echo, rather using same handle as compiler diagnostics (stderr default).
* fixes #3299Araq2015-10-151-1/+4
|
* added undocumented exportNims pragma for Nimscript supportAraq2015-10-031-0/+25
|
* vm: Don't fail on unknown enum position to stringAdam Strzelecki2015-09-281-1/+1
| | | | | | | Previously trying to convert constant of enum type, where this enum type has no entry with given constant position leaded to "internal error: opConv for enum". Instead of producing error, now we gracefully convert it to "EnumType position".
* Uint64 to string in pure nim. array[char] to string fixed in vm.Yuriy Glukhov2015-09-141-1/+12
|
* fixes some regressionsAraq2015-09-121-0/+2
|
* VM produces objects.Yuriy Glukhov2015-09-051-4/+9
|
* implemented macros.getImplAraq2015-08-211-0/+8
|
* preparations for Nimble NimScript integrations; minor cleanupsAraq2015-08-181-0/+4
|
* implements experimental new config system based on NimScriptAraq2015-08-161-2/+2
|
* Merge pull request #3177 from zah/generic-types-in-macrosAndreas Rumpf2015-08-141-9/+24
|\ | | | | Generic types in macros
| * Disable the new generic params handling for immediate template and macrosZahary Karadjov2015-08-021-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since immediate templates are not subjected to the standard sigmatching algorithm, they will have a number of deficiencies when it comes to generic params: Type dependencies between the parameters won't be honoured and the bound generic symbols won't be resolvable within their bodies. We could try to fix this, but it may be wiser to just deprecate immediate templates and macros now that we have working untyped parameters. Disabling the new features is admittedly not the greatest way to handle this situations as it introduces inconsistency in the language, but at least it makes the code backwards-compatible with the previous version of the compiler instead of triggering more serious problems.
| * fix #1858 again; restores the support for static macro paramsZahary Karadjov2015-08-021-9/+23
| |
* | fixes #3192Araq2015-08-071-1/+1
|/
* fixes #3103Araq2015-08-021-2/+4
|
* emerald project has a chance of workingAraq2015-08-021-4/+5
|
* staticExec now supports cachingAraq2015-07-151-1/+4
|
* macros: Introduce sameType(a, b) for node typesAdam Strzelecki2015-07-031-0/+3
| | | | | | | | | | | | | Previously introduced node comparison `==` was working somehow wrong on nodes returned from getType(a), comparing just ids of the symbols. Recently introduced `==` change 47dce2688633fad840a2f5e4073c531f1cd640ca started comparing symbol nodes pointer-wise, thus strictly. Since getType(a) always creates new symbol pointing to the type, comparing two such nodes using `==` always returns false, even they point to the same type. That is why we need a new sameType macro to be able to tell if these nodes point to the same type.
* fixes #3028Araq2015-07-011-1/+1
|
* VM: use stricter notion of equality for NimNodeAraq2015-06-251-1/+2
|
* fixes #2297, fixes #2946Araq2015-06-181-12/+0
|
* macros: exprStructuralEquivalent for EqNimrodNodeAdam Strzelecki2015-06-101-1/+5
| | | | | Previously NimNode comparison in macros way returning false for anything else than nil literal.
* Update ast spec about uint literalsdef2015-05-181-1/+1
|
* Make intVal work for uint literals in the VMdef2015-05-181-1/+1
|
* marshalling can be done at compile-timeAraq2015-04-251-6/+15
|
* VM: minor fixes to make lexim workAraq2015-04-201-1/+8
|
4e2ae4d77db'>f1a6f323 ^
d241c9c4 ^
dcfca05e ^
d241c9c4 ^
9cf71627 ^
1cd2691b ^
cfb142b9 ^
acc4792d ^
cfb142b9 ^

56c0e796 ^
1cd2691b ^
0487a30e ^
1cd2691b ^
3eb81335 ^
0d302187 ^
1066660e ^
9fc64bbc ^
9d670bb5 ^
9fc64bbc ^

ccba6718 ^




e74a2940 ^




3c435756 ^


2199940a ^
d41955c1 ^
8eff7919 ^
ec926027 ^

d41955c1 ^
795f5244 ^
ec926027 ^

58a08ed3 ^



d41955c1 ^
795f5244 ^
dcfca05e ^

d41955c1 ^
795f5244 ^
ec926027 ^

d41955c1 ^
95b2a140 ^


e5e9f7db ^



0d3f30c2 ^
f28f2636 ^
785a60fa ^
2429c65c ^
8aa4b664 ^

e5e9f7db ^

b39ceb27 ^
2186422c ^
db50f43a ^
e7f76736 ^
cea49fde ^
7fd01071 ^

cea49fde ^
6d6c37fe ^
cea49fde ^
6d6c37fe ^

2429c65c ^
60e11efc ^

e7f76736 ^
ae5f0b6f ^
b39ceb27 ^
2429c65c ^
6dd67576 ^

43781c7b ^
2429c65c ^
e7f76736 ^
e5e9f7db ^

b39ceb27 ^
ae5f0b6f ^
0d3f30c2 ^
b39ceb27 ^
f28f2636 ^
026efa57 ^
4f10b93a ^
7858a06a ^
cea49fde ^


cea49fde ^

ae5f0b6f ^
e7f76736 ^
e7f76736 ^

026efa57 ^








267ebb59 ^
e0551d78 ^
b24eb476 ^
e0551d78 ^

c062021a ^
b24eb476 ^
c062021a ^


b24eb476 ^
c062021a ^

e0551d78 ^
e5e9f7db ^

e0551d78 ^

f78f92c5 ^
f28f2636 ^

f78f92c5 ^


2c0583aa ^
f78f92c5 ^




2429c65c ^
9f78ec2d ^
2429c65c ^
9f78ec2d ^

267ebb59 ^
f5f4b698 ^
5ea70e95 ^
f5f4b698 ^

b2ec0969 ^
8c9e97ae ^
267ebb59 ^


9f78ec2d ^





2429c65c ^
9f78ec2d ^



55fc43b7 ^
2429c65c ^
9f78ec2d ^





385ff136 ^

9f78ec2d ^
7284d503 ^

e5e9f7db ^
3473c63a ^
43b866d1 ^
fca0ebbe ^
ab6ed192 ^
a4ef18b1 ^
a26cc359 ^

43b866d1 ^
b24eb476 ^

6700f9f2 ^

b291f85b ^

cae5461b ^


1cd2691b ^

43b866d1 ^
0c0bc3ae ^
9dcbec39 ^
0c0bc3ae ^

6b6dfb0c ^
18429d40 ^
43b866d1 ^
4588af97 ^



70179d1f ^
8dccf184 ^
35064671 ^
70179d1f ^
43b866d1 ^
b24eb476 ^
6700f9f2 ^


b291f85b ^
cae5461b ^

c1a50c82 ^
b24eb476 ^
3c163ef7 ^
43b866d1 ^
c6034af3 ^
3076bab4 ^
b24eb476 ^
3c163ef7 ^
c6034af3 ^
f48f6c14 ^
eaa75c87 ^
decaddb4 ^
70179d1f ^
3c163ef7 ^
c91caafd ^
6c1376f8 ^
70179d1f ^


d41955c1 ^
af023b32 ^





a0fc38c9 ^

d41955c1 ^
78164bab ^

d41955c1 ^
78164bab ^


e5e9f7db ^
19695cc7 ^
e5e9f7db ^


7ac8feef ^
390f4097 ^





e5e9f7db ^

decaddb4 ^
1ead3562 ^
decaddb4 ^
192d59d3 ^

decaddb4 ^
acc4792d ^

d7494165 ^
fc55fea0 ^

1ead3562 ^
bc643692 ^
fc55fea0 ^
acc4792d ^
18429d40 ^
bc643692 ^
5f98a10c ^
1ead3562 ^
192d59d3 ^
18429d40 ^
bc643692 ^
6d2b1168 ^
677fa104 ^



1ead3562 ^
192d59d3 ^
677fa104 ^
578327f1 ^
677fa104 ^

1ead3562 ^
192d59d3 ^
677fa104 ^
578327f1 ^
677fa104 ^

1ead3562 ^
192d59d3 ^
677fa104 ^
578327f1 ^
677fa104 ^

1ead3562 ^
192d59d3 ^
677fa104 ^
578327f1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418