summary refs log tree commit diff stats
path: root/compiler/cmdlinehelper.nim
Commit message (Collapse)AuthorAgeFilesLines
* fixes #23429; rework `--verbosity` with warnings/hints (#23441)ringabout2024-03-281-0/+5
| | | fixes #23429
* prepare for the enforcement of `std` prefix (#22873)ringabout2023-10-291-1/+3
| | | follow up https://github.com/nim-lang/Nim/pull/22851
* Remove Deprecated Nimfix (#22062)Juan Carlos2023-06-101-1/+1
| | | | * Remove Deprecated Nimfix * Trailing whitespace cleanups
* undefine C symbols in JS backend [backport:1.6] (#19437)flywind2022-02-041-1/+2
| | | fix #19330; fix #19059
* fix setCommand so it behaves like regular nim invocation (#18555)Timothee Cour2021-07-221-8/+1
|
* cmdline: improve command processing (#16056)Timothee Cour2020-11-261-11/+5
|
* Retain backwards compatibility after #16057 (#16068)Clyybber2020-11-201-0/+4
| | | | | * Retain backwards compatibility * Fix typo
* rename loadConfigsAndRunMainCommand => loadConfigsAndProcessCmdLine, reflect ↵Timothee Cour2020-11-201-1/+1
| | | | reality (#16057)
* new: `nim -e:cmd` to run a command directly; also fixes #15731 (#15687)Timothee Cour2020-11-091-1/+5
| | | | | | | | | | | | | | | * 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>
* explicit ID generation for easier IC (#15559)Andreas Rumpf2020-10-251-1/+1
| | | | | | | | | | | | | | | | | * 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)
* even more "eg" fixes [ci skip]narimiran2020-10-201-1/+1
|
* refactoring: removed cmdlinehelper.mainCommand callbackAndreas Rumpf2020-10-111-13/+10
|
* fix some issues with --backend (#14363)Timothee Cour2020-05-161-8/+0
| | | | | * fix some issues with --backend * fix https://github.com/timotheecour/Nim/issues/175; improve upon #14306
* `nim doc --backend:js`, `nim doc --doccmd:-d:foo`, `nim r --backend:js`, ↵Timothee Cour2020-05-111-1/+2
| | | | | | | | | | `--doccmd:skip` + other improvements (#14278) * `nim doc --backend:js|cpp...` `nim doc --doccmd:'-d:foo --threads:on'` `nim r --backend:cpp...` (implies --run --usenimcache) * --usenimcache works with all targets * --docCmd:skip now skips compiling snippets; 50X speedup for doc/manual.rst
* drnim: tiny progress (#13882)Andreas Rumpf2020-04-151-1/+15
| | | | | | | | | | | * drnim: tiny progress * refactoring complete * drnim: prove .ensures annotations * Moved code around to avoid code duplication * drnim: first implementation of the 'old' property * drnim: be precise about the assignment statement * first implementation of --assumeUnique * progress on forall/exists handling
* remove isCmdLine; use passCmd1Timothee Cour2020-02-271-2/+0
|
* correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in orderTimothee Cour2020-02-271-0/+2
|
* Fix #9405 - cfg and nims run in syncGanesh Viswanathan2020-02-271-27/+2
|
* fix #13374 `nim c -r -` now generates $nimcache/stdinfile (#13380) [backport]Timothee Cour2020-02-111-4/+1
|
* make goto based exceptions available for 'nim cpp' (#13244)Andreas Rumpf2020-01-251-0/+7
| | | | | * make goto based exceptions available for 'nim cpp' * optimize seq.add to be comparable to C++'s emplace_back
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* fixes 'e' command handling; now only does what advopt.txt claims it does ↵Andreas Rumpf2019-08-161-1/+7
| | | | | | | (#11961) * fixes 'e' command handling; now only does what advopt.txt claims it does * address Timothee's remark
* fixes #9120Araq2018-12-161-10/+0
|
* fixes #9420Araq2018-12-161-1/+1
|
* fixes #8991, fixes #4446Araq2018-12-161-1/+1
|
* restore the old .nims processing behaviour; fixes #9989; fixes #9995Araq2018-12-161-6/+1
|
* fixes #9995Andreas Rumpf2018-12-151-5/+2
|
* fixes yet another NimScript regressionAraq2018-12-141-0/+2
|
* fixes #9965Araq2018-12-141-15/+20
|
* Undefine some symbols and globalOptions when processing nimscript (#9945) ↵Neelesh Chandola2018-12-131-0/+12
| | | | | | | | [backport] * Undefine some symbols when processing nimscript * Undefine taintMode when processing nimscript * Reload .cfg configuration
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-16/+23
| | | | between modules
* make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-301-0/+85
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