LemonBoy
589d6bc8d8
Warn the user if the specified verbosity level is wrong
2018-06-25 15:46:38 +02:00
Andreas Rumpf
5348fef003
implements a --nep1:on switch to make the compiler enforce the naming conventions outlined in NEP-1
2018-06-13 01:44:19 +02:00
Andreas Rumpf
61fb83ecbb
baby steps for incremental compilation
2018-05-30 23:50:34 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
a4e2b0c153
platform.nim doesn't use globals anymore; prepare msgs.nim for not using globals
2018-05-18 15:18:00 +02:00
Andreas Rumpf
bf6c2c5ccf
preparations of making compiler/msgs.nim free of global variables
2018-05-17 15:21:22 +02:00
Araq
635451591d
extccomp: no globals anymore
2018-05-16 02:01:55 +02:00
Andreas Rumpf
328e7a1005
options.nim: no global variables anymore
2018-05-13 17:52:21 +02:00
Andreas Rumpf
dc4aa47c29
bootstrapping works
2018-05-13 09:07:11 +02:00
Andreas Rumpf
3c4ceea427
move more global variables into ConfigRef
2018-05-11 15:28:26 +02:00
Andreas Rumpf
a8a544a8f7
avoid more global variables
2018-05-11 15:01:28 +02:00
Andreas Rumpf
61e57cfa13
big refactoring: parser compiles again
2018-05-10 10:49:51 +02:00
Andreas Rumpf
79ec95a9b5
remove hardly used TimeMachine feature
2018-05-06 20:07:42 +02:00
Dominik Picheta
5564289b57
Merge pull request #7714 from data-man/show_compile_timestamps
...
Compiler: show compile timestamps
2018-05-03 14:12:24 +01:00
Araq
1a3b35603c
Merge branch 'araq-strings-v1' into devel
2018-04-30 19:51:26 +02:00
Araq
85af8fb74c
introduce --laxstrings switch for backwards compatibility
2018-04-30 19:50:36 +02:00
Andreas Rumpf
50e1a489c0
commands.nim: use let instead of var
2018-04-30 12:06:59 +02:00
data-man
e53dc66a18
Compiler: show compile timestamps
2018-04-28 14:47:15 +03:00
genotrance
e931f3b5a9
Fixes #802 , #803 and #3775 - genscript issues ( #7677 )
...
* Fixes #802 , #803 and #3775 - genscript issues
* Test case for genscript
* Test script
* Verify on Linux
* Update categories.nim
* Fix merge
* Improve test framework
* Windows fixes
2018-04-25 10:52:32 +02:00
Andreas Rumpf
b503ca03f6
refactoring: move 'argument' global into config object
2018-04-24 11:58:18 +02:00
Andreas Rumpf
ee366f1746
.experimental can now be used to enable specific features
2018-04-24 09:34:29 +02:00
Jacek Sieka
72dfe176f5
remove dead code elimination option ( #7669 )
2018-04-23 11:02:38 +02:00
Andreas Rumpf
33b69f0ed0
refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654
2018-04-21 08:13:37 +02:00
Andreas Rumpf
9cc8fec370
replace --advanced by --fullhelp; refs #7621
2018-04-20 08:45:03 +02:00
jcosborn
7e15d5134b
allow setting template/macro recursive evaluation limits ( #7652 )
...
* allow setting template/macro recursive evaluation limits
* revert setting template/macro eval limits
set them to 1000
2018-04-19 22:39:18 +02:00
AdrianV
0ce28d15cc
Nim namespace for cpp ( #7453 )
...
- new option --usenamespace to generate nim cpp code in its own namespace Nim
- minor changes for compatibility with the new Embarcadero = Borland C++-Builder (bcc)
2018-04-15 13:43:01 +02:00
Andreas Rumpf
9e884c31dd
the new feature's name is hotCodeReloading
2018-04-13 23:48:56 +02:00
zah
e3037a2f33
Support code hot reloading for JavaScript projects ( #7362 )
...
* Support code hot reloading for JavaScript projects
* Add some missing JavaScript symbols and APIs
* fix the Travis build
* (review changes) remove the js type from the standard library as it doesn't follow NEP-1
* more additions to the DOM module
* Follow NEP-1 in jsffi; spell 'hot code reloading' correctly
* introduce a jscore module
* Document jscore module.
* readded js type
* Remove the '$' operator that doesn't behave
2018-04-13 19:08:43 +02:00
Araq
9de05ec3e0
further steps in implementing sink parameters; refs #7041
2018-03-30 02:32:13 +02:00
Andreas Rumpf
cddc389784
disable the undocumented 'import ' feature; allow import std / strutils; fixes #2819 ; refs #6700
2018-02-12 16:40:27 +01:00
Andreas Rumpf
a605fa8ba6
fixes #7129
2018-01-30 19:51:38 +01:00
Andreas Rumpf
80caca15bd
fixes #7089
2018-01-24 20:08:17 +01:00
Araq
df73d412ba
introduce --symbolFiles:v2 as the next attempt to bring symbol files to Nim
2018-01-11 17:58:26 +01:00
Andreas Rumpf
51c45c7201
symbol files: introduce more switches for debugging
2018-01-07 12:21:42 +01:00
Andreas Rumpf
da90657317
make the new --genDeps feature optional since it makes compilations slower
2017-12-21 17:14:31 +01:00
Charlie Barto
c7ba4d91a3
add dynlibOverrideAll switch ( #6873 )
2017-12-06 09:56:44 +01:00
Bernhard M. Wiedemann
49320add23
Do not include date in binaries ( #6581 )
...
and do not claim copyright for 2018
in order to make nim package builds reproducible.
See https://reproducible-builds.org/ for why this is good.
2017-11-18 14:46:19 +01:00
Xiao-Yong
616db85c61
Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file ( #6542 )
...
* Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file
If the length of NIMBLE_DIR is larger than zero, the nimblepath
will be set to $NIMBLE_DIR/pkgs
2017-10-28 09:38:31 +02:00
Andreas Rumpf
63530be0b8
introduce --newruntime switch for the upcoming destructors and move semantics
2017-10-13 06:38:59 +02:00
Eduardo Bart
5c1a842b88
Add missing nilChecks compiling option ( #6480 )
2017-10-09 19:09:49 +02:00
Bo Lingen
535f21ced3
direct nim --version to stdout rather than stderr ( #6460 )
...
Closes #6298
2017-10-02 12:20:24 +02:00
cooldome
82453825e9
Make Nim gdb pretty print friendly ( #6240 )
2017-08-24 10:21:38 +02:00
Araq
6b3af6a5d7
WIP: --gc:regions instead of --gc:stack
2017-08-13 02:51:00 +02:00
Zahary Karadjov
a90c4c4d7e
kill the reportConceptFailures options as it will be replaced by the .explain. pragma
2017-03-24 16:58:15 +02:00
Andreas Rumpf
242fb3240f
fixes #5228
2017-03-18 13:59:35 +01:00
Andreas Rumpf
895e2aea15
Merge pull request #5317 from rokups/feature/coroutines
...
Coroutine improvements
2017-02-26 23:24:29 +01:00
Arne Döring
92c2a51bf7
removed compiler internal list implementation ( #5371 )
2017-02-22 17:33:12 +01:00
Rokas Kupstys
96c571dd96
Removed fasm support.
2017-02-20 17:24:19 +02:00
Andreas Rumpf
f04d21f279
refactoring: explict config state instead of globals
2017-02-01 23:39:40 +01:00
Parashurama
2aec5b6c49
fixes compiler ignoring passC/passL args when setting --cc:compiler. ( #5310 )
...
This commit change the way passC/passL cmdline arg and setting in config
files are parsed.
They are added to a separate linkOptionsCmd/compileOptionsCmd and are
inserted when compile/linking command list are requested.
2017-02-01 08:51:24 +01:00