summary refs log tree commit diff stats
path: root/compiler/nimconf.nim
Commit message (Collapse)AuthorAgeFilesLines
* fix #8219; nim check/dump shouldn't run single nimscript project [backport: ↵flywind2022-03-261-1/+2
| | | | | | 1.6] (#19641) * fix #8219; nim check/dump shouldn't run single nimscript project [backport: 1.6]
* move assertions out of system (#19599)flywind2022-03-231-0/+3
|
* fix wrong name (rnimsyn => renderer; pnimsyn => parser; scanner => lexer) ↵flywind2021-09-251-1/+1
| | | | | | | (#18895) * fix wrong module name * rephrase more word
* simplify extccomp.nim json logic via jsonutils; fix #18084 (#18100)Timothee Cour2021-06-031-7/+4
| | | | | | * simplify extccomp.nim json logic via jsonutils * fix #18084 * simplify further * workaround for bootstrap that can be removed after updating csources_v1 >= 1.2
* fix #17190 `nimscript` now accepts arbitrary file extensions for `nim e ↵flywind2021-04-011-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | main.customext` (#17596) * fix #17190 * cah * merge * Update tnimscriptwithnimext.nim * Update tnimscriptwithmacro.nims * Apply suggestions from code review * Delete tnimscriptwithnimext.nim * Update tests/tools/tnimscriptwithmacro.nims * fix * fix * add a test * Apply suggestions from code review Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Apply suggestions from code review * Update changelog.md Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #16526 run config.nims before foo.nim.cfg (#16557)Timothee Cour2021-01-021-2/+2
| | | | | * fix #16526 run config.nims before foo.nim.cfg * add test
* cmdline: improve command processing (#16056)Timothee Cour2020-11-261-1/+1
|
* new: `nim -e:cmd` to run a command directly; also fixes #15731 (#15687)Timothee Cour2020-11-091-8/+13
| | | | | | | | | | | | | | | * new: `nim -i cmd` * rename -i to -e (for eval); consistent with majority of other programing languages * `nim e -e:cmd` now works; bugfix: `echo cmd | nim e -` now works * honor --betterRun * address comments * --eval alias for -e (replaces undocumented --eval which was a noop) * --eval now defaults to e (nimscript) instead of r * address comment: remove -e, only keep --eval * address comment * fixup * Update compiler/nimconf.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
* fix #15740 --hint:conf now works more reliably (#15741)Timothee Cour2020-10-271-5/+10
|
* explicit ID generation for easier IC (#15559)Andreas Rumpf2020-10-251-11/+10
| | | | | | | | | | | | | | | | | * refactoring: idents don't need inheritance * refactoring: adding an IdGenerator (part 1) * refactoring: adding an IdGenerator (part 2) * refactoring: adding an IdGenerator (part 3) * refactoring: adding an IdGenerator (part 4) * refactoring: adding an IdGenerator (part 5) * refactoring: adding an IdGenerator (part 5) * IdGenerator must be a ref type; hello world works again * make bootstrapping work again * progress: add back the 'exactReplica' ideas * added back the missing exactReplica hacks * make tcompilerapi work again * make important packages green * attempt to fix the build for 32 bit machines (probably need a better solution here)
* Big compiler Cleanup (#14777)Clyybber2020-08-281-17/+17
|
* correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in orderTimothee Cour2020-02-271-0/+1
|
* Fix #9405 - cfg and nims run in syncGanesh Viswanathan2020-02-271-1/+29
|
* fix crash due to errant symbols in nim.cfg (#13073) [backport]Andy Davidoff2020-01-081-2/+3
|
* Cosmetic compiler cleanup (#12718)Clyybber2019-11-281-13/+13
| | | | | | | | | | | | | | | | | | * Cleanup compiler code base * Unify add calls * Unify len invocations * Unify range operators * Fix oversight * Remove {.procvar.} pragma * initCandidate -> newCandidate where reasonable * Unify safeLen calls
* restore --define:key:val in nim.cfg and fix #12367 (#12611)Andy Davidoff2019-11-061-0/+6
|
* export nim.cfg parser (#12602)Andy Davidoff2019-11-061-1/+1
|
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-1/+1
|
* [bugfix] nimpretty: fixes #11468Araq2019-06-131-14/+14
|
* make fullpaths the default in error messages and stack traces for mor… ↵Andreas Rumpf2019-06-051-3/+3
| | | | | | | | | | | | (#11385) * make fullpaths the default in error messages and stack traces for more convenient development * split up -d:release into -d:release and -d:danger flags * workaround a Nim config parser bug * fixes an old nim config parser bug * make megatest green again * make nimpretty tests work again * make nimsuggest green
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-16/+16
| | | | between modules
* make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-301-3/+4
| | | | | | | | | searched / run (#8682) * run project config.nims if exists, then inputfile.nims if exists * ~/.config/nim/config.nims can now be used * also check in getSystemConfigPath for config.nims * refactor handleCmdLine for nim and nimsuggest
* fixes #8739; allow --hint:foo:on --warning:bar:off (#8757)Timothee Cour2018-08-251-1/+1
|
* Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662)Kaushal Modi2018-08-171-1/+1
| | | Fixes https://github.com/nim-lang/Nim/issues/8661.
* fixes #8653Andreas Rumpf2018-08-161-2/+2
|
* fixex merge conflictsAraq2018-06-081-7/+18
|\
| * Wait until the end to print hint Conf (#7931)WhiteDuke2018-06-041-7/+18
| |
* | refactoring: make projectMainIdx typesafeAndreas Rumpf2018-05-271-4/+0
| |
* | remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|/
* documentation generator works againAndreas Rumpf2018-05-151-1/+1
|
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-18/+18
|
* move more global variables into ConfigRefAndreas Rumpf2018-05-111-5/+5
|
* avoid more global variablesAndreas Rumpf2018-05-111-2/+2
|
* big refactoring: parser compiles againAndreas Rumpf2018-05-101-50/+55
|
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-1/+1
|
* remove obsolete nimrod.cfg configuration filesAndreas Rumpf2018-04-241-4/+0
|
* fixes #499Andreas Rumpf2017-07-221-1/+1
|
* refactoring: explict config state instead of globalsAndreas Rumpf2017-02-011-53/+53
|
* make tests green againAraq2016-11-011-1/+1
|
* big refactoring: step 1Araq2016-10-311-11/+15
|
* improvements for NimScript supportAraq2015-09-031-57/+49
|
* Introduce NotesVerbosity defining verbosity levelsAdam Strzelecki2015-07-031-1/+1
| | | | | | | | | | | | | | This solves two issues: 1. Some notes were enabled explicitly for some verbosity levels, so --hintName:on has no effect if verbosity level was too low. 2. Verbosity level for notes is not longer scattered across the source code, instead if now lives in msgs.nim NotesVerbosity array 3. Individual note settings have stronger effect than verbosity setting, so --hintName:off will disable hint regardless of high verbosity setting, and vice-versa --hintName:on will enable hint even on low verbosity setting.
* Merge pull request #2058 from def-/nimrod-cfgsAndreas Rumpf2015-02-071-5/+10
|\ | | | | Rename *.nimrod.cfg to *.nim.cfg
| * Add support for nimcfg and warning for nimrod.cfgdef2015-02-041-3/+8
| |
| * Typosdef2015-02-041-2/+2
| |
* | configuration system supports %= to access environment variablesAraq2015-02-071-9/+15
|/
* the codegen doesn't emit deepCopy for parallel statementsAraq2014-11-081-3/+5
|
* renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamingsAraq2014-08-291-4/+5
|
* Nimrod renamed to NimAraq2014-08-281-2/+2
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-3/+3
|
ion' href='/ahoang/Nim/blame/rod/semfold.nim?h=devel&id=33fbf7fd03145d1de6023edee9c002aec982ffc7'>^
7d6de1cf9 ^

96b828a38 ^












c617479c6 ^
cdf03b06b ^

c617479c6 ^

cdf03b06b ^



c617479c6 ^
5c7e3efbc ^





















299390a58 ^




















































ccd58fba2 ^







7063670a2 ^
e25474154 ^


7063670a2 ^
e25474154 ^

42516c008 ^
e25474154 ^
7063670a2 ^
e25474154 ^







299390a58 ^
cdf03b06b ^
e25474154 ^


145fabeb6 ^

e25474154 ^




7063670a2 ^
299390a58 ^
05cffb937 ^
7063670a2 ^
05cffb937 ^

e25474154 ^
05cffb937 ^
7063670a2 ^
05cffb937 ^
7063670a2 ^
e25474154 ^
5b28d0820 ^


02e8e9c3e ^

7063670a2 ^
02e8e9c3e ^
e25474154 ^



42516c008 ^



299390a58 ^
42516c008 ^


96b828a38 ^
299390a58 ^

96b828a38 ^



72651de71 ^

70cf34cbd ^

ccd58fba2 ^

72651de71 ^
96b828a38 ^
e25474154 ^
5b28d0820 ^
e25474154 ^
5b28d0820 ^
e25474154 ^
7063670a2 ^
e25474154 ^





7063670a2 ^

e25474154 ^


7063670a2 ^
e25474154 ^
7063670a2 ^
e25474154 ^






7063670a2 ^

e25474154 ^






7063670a2 ^

e25474154 ^


7063670a2 ^

e25474154 ^


7063670a2 ^
e25474154 ^




5b28d0820 ^
e25474154 ^


7063670a2 ^
e25474154 ^



7063670a2 ^
e25474154 ^
5c7e3efbc ^
299390a58 ^


e25474154 ^
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
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526