summary refs log tree commit diff stats
path: root/compiler/nimconf.nim
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* case consistency: cs:partial bootstraps on windowsAraq2013-12-291-3/+3
|
* case consistency: next stepsAraq2013-12-291-1/+1
|
* case consistency part 4Araq2013-12-271-7/+7
|
* case consistency part 2Araq2013-12-271-1/+1
|
* case consistency part 1Araq2013-12-271-1/+1
|