Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix #16526 run config.nims before foo.nim.cfg (#16557) | Timothee Cour | 2021-01-02 | 1 | -2/+2 |
| | | | | | * fix #16526 run config.nims before foo.nim.cfg * add test | ||||
* | cmdline: improve command processing (#16056) | Timothee Cour | 2020-11-26 | 1 | -1/+1 |
| | |||||
* | new: `nim -e:cmd` to run a command directly; also fixes #15731 (#15687) | Timothee Cour | 2020-11-09 | 1 | -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 Cour | 2020-10-27 | 1 | -5/+10 |
| | |||||
* | explicit ID generation for easier IC (#15559) | Andreas Rumpf | 2020-10-25 | 1 | -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) | Clyybber | 2020-08-28 | 1 | -17/+17 |
| | |||||
* | correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order | Timothee Cour | 2020-02-27 | 1 | -0/+1 |
| | |||||
* | Fix #9405 - cfg and nims run in sync | Ganesh Viswanathan | 2020-02-27 | 1 | -1/+29 |
| | |||||
* | fix crash due to errant symbols in nim.cfg (#13073) [backport] | Andy Davidoff | 2020-01-08 | 1 | -2/+3 |
| | |||||
* | Cosmetic compiler cleanup (#12718) | Clyybber | 2019-11-28 | 1 | -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 Davidoff | 2019-11-06 | 1 | -0/+6 |
| | |||||
* | export nim.cfg parser (#12602) | Andy Davidoff | 2019-11-06 | 1 | -1/+1 |
| | |||||
* | [refactoring] remove unused imports in the compiler and in some stdlib modules | Araq | 2019-07-18 | 1 | -1/+1 |
| | |||||
* | [bugfix] nimpretty: fixes #11468 | Araq | 2019-06-13 | 1 | -14/+14 |
| | |||||
* | make fullpaths the default in error messages and stack traces for mor… ↵ | Andreas Rumpf | 2019-06-05 | 1 | -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 Rumpf | 2018-09-07 | 1 | -16/+16 |
| | | | | between modules | ||||
* | make config.nims behave like nim.cfg in terms of where these scripts are ↵ | Timothee Cour | 2018-08-30 | 1 | -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 Cour | 2018-08-25 | 1 | -1/+1 |
| | |||||
* | Look for user nim.cfg in "nim/" subdir in usual config dir locations (#8662) | Kaushal Modi | 2018-08-17 | 1 | -1/+1 |
| | | | Fixes https://github.com/nim-lang/Nim/issues/8661. | ||||
* | fixes #8653 | Andreas Rumpf | 2018-08-16 | 1 | -2/+2 |
| | |||||
* | fixex merge conflicts | Araq | 2018-06-08 | 1 | -7/+18 |
|\ | |||||
| * | Wait until the end to print hint Conf (#7931) | WhiteDuke | 2018-06-04 | 1 | -7/+18 |
| | | |||||
* | | refactoring: make projectMainIdx typesafe | Andreas Rumpf | 2018-05-27 | 1 | -4/+0 |
| | | |||||
* | | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
|/ | |||||
* | documentation generator works again | Andreas Rumpf | 2018-05-15 | 1 | -1/+1 |
| | |||||
* | options.nim: no global variables anymore | Andreas Rumpf | 2018-05-13 | 1 | -18/+18 |
| | |||||
* | move more global variables into ConfigRef | Andreas Rumpf | 2018-05-11 | 1 | -5/+5 |
| | |||||
* | avoid more global variables | Andreas Rumpf | 2018-05-11 | 1 | -2/+2 |
| | |||||
* | big refactoring: parser compiles again | Andreas Rumpf | 2018-05-10 | 1 | -50/+55 |
| | |||||
* | compiler refactoring, pass config around explicitly | Andreas Rumpf | 2018-05-05 | 1 | -1/+1 |
| | |||||
* | remove obsolete nimrod.cfg configuration files | Andreas Rumpf | 2018-04-24 | 1 | -4/+0 |
| | |||||
* | fixes #499 | Andreas Rumpf | 2017-07-22 | 1 | -1/+1 |
| | |||||
* | refactoring: explict config state instead of globals | Andreas Rumpf | 2017-02-01 | 1 | -53/+53 |
| | |||||
* | make tests green again | Araq | 2016-11-01 | 1 | -1/+1 |
| | |||||
* | big refactoring: step 1 | Araq | 2016-10-31 | 1 | -11/+15 |
| | |||||
* | improvements for NimScript support | Araq | 2015-09-03 | 1 | -57/+49 |
| | |||||
* | Introduce NotesVerbosity defining verbosity levels | Adam Strzelecki | 2015-07-03 | 1 | -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-cfgs | Andreas Rumpf | 2015-02-07 | 1 | -5/+10 |
|\ | | | | | Rename *.nimrod.cfg to *.nim.cfg | ||||
| * | Add support for nimcfg and warning for nimrod.cfg | def | 2015-02-04 | 1 | -3/+8 |
| | | |||||
| * | Typos | def | 2015-02-04 | 1 | -2/+2 |
| | | |||||
* | | configuration system supports %= to access environment variables | Araq | 2015-02-07 | 1 | -9/+15 |
|/ | |||||
* | the codegen doesn't emit deepCopy for parallel statements | Araq | 2014-11-08 | 1 | -3/+5 |
| | |||||
* | renamed babelcmd to nimblecmd; config files are now nim.cfg; other renamings | Araq | 2014-08-29 | 1 | -4/+5 |
| | |||||
* | Nimrod renamed to Nim | Araq | 2014-08-28 | 1 | -2/+2 |
| | |||||
* | 'nil' as a statement is deprecated, use an empty 'discard' instead | Araq | 2014-01-19 | 1 | -3/+3 |
| | |||||
* | case consistency: cs:partial bootstraps on windows | Araq | 2013-12-29 | 1 | -3/+3 |
| | |||||
* | case consistency: next steps | Araq | 2013-12-29 | 1 | -1/+1 |
| | |||||
* | case consistency part 4 | Araq | 2013-12-27 | 1 | -7/+7 |
| | |||||
* | case consistency part 2 | Araq | 2013-12-27 | 1 | -1/+1 |
| | |||||
* | case consistency part 1 | Araq | 2013-12-27 | 1 | -1/+1 |
| |