summary refs log tree commit diff stats
path: root/compiler/passaux.nim
Commit message (Collapse)AuthorAgeFilesLines
* test removing dollar for objects out of system (#20242)metagn2022-08-241-0/+2
| | | | | | | | | | | * test removing dollar for objects out of system * test & fixes * fix bootstrap * use nimPreviewSlimSystem, test stdlib category * fix test
* improvements to hint:processing: show import stack, distinguish nims, show ↵Timothee Cour2021-06-301-9/+4
| | | | | | | | includes etc (#18372) * improvements to hint:processing * fix tests; do not show hintProcessing for nimscript unless given -d:nimHintProcessingNims * fix trunner and avoid need for -d:nimHintProcessingNims * fix some tests
* even lighter version of #17938: fix most issues with UnusedImport, ↵Timothee Cour2021-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362) * {.used: symbol} * add tests * fix tests with --import * --import works without giving spurious unused warnings * new warning warnDuplicateModuleImport for `import foo; import foo` * fix test, add resolveModuleAlias, use proper line info for module aliases * fix spurious warnings * fix deprecation msg for deprecated modules even with `import foo as bar` * disable a test for i386 pending sorting XDeclaredButNotUsed errors * UnusedImport now works with re-exported symbols * fix typo [skip ci] * ic support * add genPNode to allow writing PNode-based compiler code similarly to `genAst` * fix DuplicateModuleImport warning * adjust test * fixup * fixup * fixup * fix after rebase * fix for IC * keep the proc inline, move the const out * [skip ci] fix changelog * experiment: remove calls to resolveModuleAlias * followup * fixup * fix tests/modules/tselfimport.nim * workaround tests/deprecated/tmodule1.nim * fix properly * simplify
* add `--processing:dots|filenames|off` to customize `hintProcessing` (#17817)Timothee Cour2021-04-231-3/+4
|
* explicit ID generation for easier IC (#15559)Andreas Rumpf2020-10-251-4/+4
| | | | | | | | | | | | | | | | | * 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)
* properly handle note override logic/verbosity/config/cmdline using ↵Timothee Cour2020-02-271-2/+2
| | | | modifiedyNotes, cmdlineNotes
* [refactoring] remove unused imports in the compiler and in some stdlib modulesAraq2019-07-181-1/+1
|
* styleCheck: make the compiler and large parts of the stdlib compatible with ↵Araq2019-07-101-1/+1
| | | | --styleCheck:error
* Make the registered passes local to the ModuleGraph (#9259)LemonBoy2018-10-091-2/+2
| | | Closes #9068
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-1/+1
|
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-1/+1
|
* the remaining passes all compile againAndreas Rumpf2018-05-131-6/+10
|
* big compiler refactoring; avoid globals for multi method dispatcher generationAndreas Rumpf2017-02-221-18/+0
|
* new dependency tracking for nimsuggestAraq2016-11-051-1/+3
|
* refactoring complete: explicit ident cacheAraq2016-10-311-2/+2
|
* C code generation now deterministic; fixes #4364Andreas Rumpf2016-06-221-1/+1
|
* compiler: Trim .nim files trailing whitespaceAdam Strzelecki2015-09-041-12/+12
| | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
* 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.
* Nimrod renamed to NimAraq2014-08-281-1/+1
|
* 'nil' as a statement is deprecated, use an empty 'discard' insteadAraq2014-01-191-1/+1
|
* case consistency part 4Araq2013-12-271-3/+3
|
* Removes executable bit for text files.Grzegorz Adam Hankiewicz2013-03-161-0/+0
|
* CaaS in-memory cachingZahary Karadjov2012-11-281-2/+2
| | | | | removed some redundant filepath params and variables and switched to canonical paths in most places
* caas is now drivable through stdinZahary Karadjov2012-11-281-8/+3
| | | | | * added idetools --eval * streams.readLine recognises and applies the backspace character
* docgen2 improvementsAraq2012-06-231-1/+1
|
* year 2012 for most copyright headersAraq2012-01-021-1/+1
|
* lazy loading of body ast implementedAraq2011-10-301-1/+1
|
* much more efficient rod file generationAraq2011-10-181-2/+2
|
* big repo cleanupAraq2011-04-121-0/+52