summary refs log tree commit diff stats
path: root/compiler/main.nim
Commit message (Collapse)AuthorAgeFilesLines
* FFI at CT (#10150)Timothee Cour2019-02-231-0/+1
| | | | | | * enable FFI at CT * rename useFFI=>nimHasLibFFI; improve formatting rawExecute traceCode * disable libffi on windows (works for win32, not yet win64)
* Added support for --genDeps on JS backend (#10320)nepeckman2019-01-151-0/+3
|
* nim dump: add nimcache entry (#10122)Timothee Cour2018-12-301-0/+1
|
* `nim c` now allows: when defined(c) (#10130)Timothee Cour2018-12-301-0/+1
|
* fix #9933 (#10067)Timothee Cour2018-12-211-0/+2
|
* cleanup main.nim's code styleAndreas Rumpf2018-12-111-14/+10
|
* enhance `dump --dump.format:json`Timothee Cour2018-12-091-1/+17
|
* make Nim take roughly 100MB less RAM for bootstrapping via a new compiler ↵Andreas Rumpf2018-11-071-54/+86
| | | | switch -d:leanCompiler; useful for the Raberry PI
* Nimscript: fixes #9246 [backport]Andreas Rumpf2018-11-061-0/+1
|
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-10/+11
| | | | between modules
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-37/+38
|
* baby steps for incremental compilationAndreas Rumpf2018-05-301-10/+1
|
* refactoring: move DB model to incremental.nimAndreas Rumpf2018-05-301-1/+1
|
* compiler API: final cleanups; improve security by diabling 'gorge' and friendsAndreas Rumpf2018-05-291-0/+3
|
* more compiler API cleanupsAndreas Rumpf2018-05-281-22/+20
|
* rename 'nimrodVM' to 'nimVM'Andreas Rumpf2018-05-281-2/+0
|
* make dependency analyser free of global variablesAndreas Rumpf2018-05-281-1/+1
|
* refactoring: make projectMainIdx typesafeAndreas Rumpf2018-05-271-1/+1
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-6/+6
| | | | around explicitly
* more refactoringAndreas Rumpf2018-05-271-1/+1
|
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-1/+1
|
* platform.nim doesn't use globals anymore; prepare msgs.nim for not using globalsAndreas Rumpf2018-05-181-1/+1
|
* preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-2/+2
|
* documentation generator works againAndreas Rumpf2018-05-151-8/+8
|
* options.nim: no global variables anymoreAndreas Rumpf2018-05-131-37/+37
|
* compiler compiles again; simple programs do workAndreas Rumpf2018-05-131-78/+70
|
* compiler refactoring, pass config around explicitlyAndreas Rumpf2018-05-051-6/+7
|
* refactoring: make FileIndex a distinct type; make line information an ↵Andreas Rumpf2018-04-211-2/+2
| | | | uint16; fixes #7654
* Remove PHP backend. (#7606)treeform2018-04-181-4/+0
| | | | | | | | | | * remove php * fix * keep nimphpext * remove targetJS enum
* Renamed jsondoc2 to jsondoc, similar to doc2 (#7279)PMunch2018-03-081-2/+2
| | | | | | | | | | | | | | | | | * Update information about jsondoc/jsondoc2 Manual was missing information about jsondoc2 which made it seem like it didn't exist at all. This commit adds mention of the jsondoc2 command along with an example. * Renamed jsondoc2 similar to doc2 and updated docs doc2 was recently renamed to doc while doc was renamed to doc0. This commits renames jsondoc to jsondoc2 and jsondoc2 to jsondoc0 to behave tha same way. The documentation for doc/jsondoc was also lagging behind this change which has also been fixed. I interpreted this as a soft deprecation of doc and jsondoc and therefore removed them from the auto-complete lists.
* new .rod file implementation; part 1: writing of the fileAraq2018-02-171-1/+2
|
* symbol files: introduce more switches for debuggingAndreas Rumpf2018-01-071-1/+1
|
* 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
|