Commit Graph

31 Commits

Author SHA1 Message Date
Miran
fe3211fbcf fix the indentation in --help and --fullhelp (#15387)
* fix the indentation in `--help` and `--fullhelp`

* a better way to fix it
2020-09-23 12:44:41 +02:00
Timothee Cour
9502e39b63 nim doc --backend:js, nim doc --doccmd:-d:foo, nim r --backend:js, --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
2020-05-11 12:01:18 +02:00
Timothee Cour
5c534b2943 new cmd: nim r main [args...] to compile & run, saving binary under $nimcache/main (#13382)
* implement `nim r main` to compile and run, saving binary to $nimcache
* remove outFileAbs for now
2020-04-23 10:02:18 +02:00
Juan Carlos
3a91a93584 Fixes #11431 (#11451) [bugfix] 2019-06-10 10:53:34 +02:00
Jacek Sieka
7072e3ddca doc: move specific checks to advanced options, for a less intimidatin… (#10779)
* doc: move specific checks to advanced options, for a less intimidating help

* remove useless bool
2019-03-04 10:49:55 +01:00
Araq
ced62f3307 compiler interface: don't overdocument the on|off switches 2019-01-22 11:45:45 +01:00
Timothee Cour
27e2ed4375 fix #9629 every binary cmd line option allows on/off/empty=on (#10353)
* fix #9629 every binary cmd line option allows on/off/empty=on

* workaround refs #10359
2019-01-18 09:03:26 +01:00
Timothee Cour
32441d01e5 better doc for hard to find --define:SYMBOL:VAL (#8257) 2018-07-11 10:33:33 +02:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Andreas Rumpf
9cc8fec370 replace --advanced by --fullhelp; refs #7621 2018-04-20 08:45:03 +02:00
Andreas Rumpf
a4d40d137e 'nim doc' is now using version 2 of the documentation generator 2017-11-16 12:53:36 +01:00
Eduardo Bart
5c1a842b88 Add missing nilChecks compiling option (#6480) 2017-10-09 19:09:49 +02:00
Araq
9e6fb3f696 new dependency tracking for nimsuggest 2016-11-05 01:19:23 +01:00
Jeff Ciesielski
11730e6c3b Update documentation and news 2016-07-05 09:06:40 -04:00
Jeff Ciesielski
94d1aa5109 Add the ability to pass a value with the -d flag
This allows the end user to use the {.magic: "IntDefine"/"StrDefine"}
pragmas to pass values into code at compile time.  This has a nice side
effect of also allowing/requiring a default value to be assigned in the
code (see osalloc.nim/StandaloneHeapSize for an example)
2016-07-04 18:11:25 -04:00
Araq
aa175e9e57 fixes #1868 2015-03-12 12:17:08 +01:00
Araq
169974cfe6 improved --debugger switch; updated release plan 2015-02-27 16:44:54 +01:00
Araq
ecd0dea091 tables work in 'const' sections; echo supports 'nil' strings; minor cleanups 2015-02-09 00:08:55 +01:00
Joseph Poirier
d15d9f4111 clarify single letter option requirements 2015-01-02 03:36:40 -06:00
Nick Greenfield
eba4b4008d Fix paragraph break issue in nimc.txt. Add spacing to command line options table. 2014-12-21 18:49:39 -05:00
Araq
9d9c3fe121 merged things from devel 2014-09-12 01:37:48 +02:00
Araq
6a29fbf240 be explicit about single letter options 2014-09-11 21:00:25 +02:00
Araq
3ea6446900 Nimrod renamed to Nim 2014-08-28 22:36:14 +02:00
Araq
dd806cafa0 distinguish between 'defined' and 'declared' 2014-08-11 20:38:28 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
869a5aa90d doc2 improvements 2012-06-24 02:34:11 +02:00
Zahary Karadjov
c617479c68 New algorithm for locating and loading nimrod config files.
Some new options added to the compiler (see news.txt for details)
2011-11-25 17:29:55 +02:00
Araq
f8dd74a073 --stdout support; idetools implemented 2011-02-25 01:53:58 +01:00
Araq
55c4074647 REPL improvements 2011-02-13 21:24:52 +01:00
Araq
f46870fe1c changes to threads; --recursivePath support 2011-01-29 01:47:58 +01:00
Araq
47886978c7 tiny C support; cosmetic improvements for the docs 2010-08-28 22:33:07 +02:00