summary refs log tree commit diff stats
path: root/compiler/main.nim
Commit message (Collapse)AuthorAgeFilesLines
* make the new --genDeps feature optional since it makes compilations slowerAndreas Rumpf2017-12-211-1/+2
|
* Merge branch 'compile-deps' of https://github.com/pyokagan/Nim into ↵Andreas Rumpf2017-12-211-1/+5
|\ | | | | | | pyokagan-compile-deps
| * writeDepsFile: write included files as wellPaul Tan2017-08-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | `writeDepsFile()` does not list files which were included with the `include` statement, e.g, with: import file1 include file2 `file1` will be written to the deps file, while `file2` would not. Fix this by modifying `writeDepsFile()` to write included files as well. Now, both `file1` and `file2` in the above example will be written to the deps file.
| * Generate deps file during C compilationPaul Tan2017-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | The "genDepend" command was previously taught how to generate a "deps" file in 4910a87c6 (gendepend improvements; refs #5144). Such a deps file is useful in integrating the Nim compiler with an external build system or watch daemon, such that it's possible to only run the Nim compiler when any of the source files are modified. It's also useful to generate the deps file in the nimcache directory during C compilation, without needing to re-run the compilation passes with "genDepend". This would thus reduce overall project build times.
* | 'nim doc' is now using version 2 of the documentation generatorAndreas Rumpf2017-11-161-2/+2
| |
* | WIP: Add a advanced compiler command 'ctags' (#6654)Dmitry Atamanov2017-11-151-0/+7
| |
* | added 'nim jsonscript' featureAndreas Rumpf2017-09-231-0/+7
|/
* Fix typodef2017-03-231-1/+1
|
* removed compiler internal list implementation (#5371)Arne Döring2017-02-221-4/+4
|
* refactoring: explict config state instead of globalsAndreas Rumpf2017-02-011-2/+2
|
* memory allocator hotfix: do not allocate tremendous amounts of memoryAndreas Rumpf2017-01-131-1/+5
|
* gendepend improvements; refs #5144Araq2017-01-061-0/+8
|
* make gendepend work againAraq2016-12-291-1/+1
|
* Merge branch 'devel' into sighashesAraq2016-12-141-1/+3
|\
| * Nim compiler generates nimcache/proj.json for easier interop with external ↵Araq2016-12-141-1/+3
| | | | | | | | build tools
* | refactoring: C codegen with fewer global variablesAraq2016-12-051-1/+1
|/
* new dependency tracking for nimsuggestAraq2016-11-051-153/+40
|
* refactoring complete: explicit ident cacheAraq2016-10-311-46/+46
|
* big refactoring: step 1Araq2016-10-311-11/+11
|
* the Nim compiler supports the jsondoc2 commandAndreas Rumpf2016-07-131-4/+11
|
* changed the compiler's path handling; fixes #546Andreas Rumpf2016-05-311-1/+1
|
* Nim check defines 'nimcheck' conditional symbolAndreas Rumpf2016-05-241-0/+1
|
* first version of an PHP codegenAndreas Rumpf2016-02-061-0/+4
|
* msgs: One msgWriteln with optional flagsAdam Strzelecki2015-10-221-4/+5
| | | | Instead of msgWriteln, outWriteln and stdoutWriteln doing essentially the same.
* added getOrDefault; bootstrapping works againAraq2015-10-131-1/+1
|
* split os into os and ospaths parts; ospaths is available for NimScript; ↵Araq2015-09-041-1/+3
| | | | better NimScript support
* simplify nimscript.nimAraq2015-08-211-1/+1
|
* cleanup destructor building for arrays; still doesn't workAraq2015-08-181-2/+1
|
* implements experimental new config system based on NimScriptAraq2015-08-161-1/+2
|
* Reset terminal colors before running compiled programdef2015-07-101-0/+1
|
* Merge pull request #3020 from flaviut/rename-crc-to-hashAndreas Rumpf2015-07-051-1/+1
|\ | | | | CRC -> Hash
| * CRC -> HashFlaviu Tamas2015-07-031-1/+1
| |
* | Introduce NotesVerbosity defining verbosity levelsAdam Strzelecki2015-07-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | fixes #2633Araq2015-07-031-1/+1
|/
* Clean up stdin file reading of compiler.def2015-05-161-1/+1
| | | | | Uses "stdinfile" as the module identifier now, which prevents problems with - colliding with the minus operator. This fixes #2422 and #2702.
* Initialize c compiler variables later ...def2015-03-281-0/+1
| | | | | | ... so that symbols such as "cpp" are defined Fixes #1460
* fixes #1868Araq2015-03-121-2/+4
|
* When compiling from stdin write binary to stdinfiledef2015-02-281-1/+1
|
* fixes #1601Araq2015-02-051-1/+0
|
* nimsuggest: sane dirty buffer handlingAraq2015-01-291-3/+3
|
* nimsuggest: first versionAraq2015-01-271-12/+4
|
* Merge pull request #1889 from ramnes/develAndreas Rumpf2015-01-071-1/+1
|\ | | | | Happy new year!
| * Happy new year!Guillaume Gelin2015-01-061-1/+1
| |
* | minor cleanupsAraq2015-01-071-20/+0
|/
* implemented mixed mode codegenAraq2014-10-031-2/+0
|
* Fix 'doc' command.Dominik Picheta2014-09-131-0/+2
|
* 'pretty' command does not exist anymore; improvements for nimfixAraq2014-09-101-9/+1
|
* some improvements for nimfixAraq2014-09-091-3/+0
|
* nimfix handles helloworldAraq2014-09-061-36/+1
|
* fixes #903, fixes #1513Araq2014-09-031-6/+0
|