awr
5ee924c711
whoops, forgot to remove old pragma section
2018-09-07 00:00:20 -05:00
awr
32deb70bae
changed to {.experimental: codeReordering.}, postpoing declared() stuff
2018-09-06 23:49:38 -05:00
awr
47726ecb9e
updated manual for declared()
2018-09-04 15:25:46 -05:00
Araq
4e05bca96f
manual: add a note about the terminating zero for strings; refs #5596
2018-09-03 12:06:34 +02:00
Araq
4b823b2825
manual: more documentation for the 'using' statement; closes #8565
2018-09-03 11:51:15 +02:00
Araq
602aeef4d4
manual: document the 'unsafeAddr' operator; closes #5038
2018-09-03 11:40:14 +02:00
Araq
4993274f2f
document 'var T' and 'typedesc' restriction in generics; closes #1156
2018-09-03 11:38:15 +02:00
Araq
077f24ab2d
fixes #8797
2018-09-03 09:14:12 +02:00
Vindaar
47c7fd037e
Improve enumerate macro ( #8819 )
...
* fix case macro manual entry to produce code block
Previously line breaks were so weird that the code blocks were not created.
* improve `enumerate` for loop macro by wrapping in block
2018-08-31 01:16:44 +02:00
Araq
2f7b979e38
fixes #8066
2018-08-31 00:30:19 +02:00
awr
8062698e7f
[Docs] Added {.reorder.} to manual
2018-08-29 13:49:45 -05:00
Araq
c1df195b15
manual: document the order of evaluation
2018-08-27 17:07:12 +02:00
Araq
c0c8828d9f
allow .experimental in a .push/pop environment; refs #8676
2018-08-27 11:20:30 +02:00
awr1
50aa376e80
Added to docs: warning string for {.deprecated.} pragma ( #8783 )
2018-08-26 17:42:57 +02:00
hlaaf
9707b23258
Fixes #8766 ( #8769 )
2018-08-24 21:19:24 +02:00
Andreas Rumpf
1061e26bc9
implements 'case statement macros' in order to encourage the development of pattern matching mechanisms that are not terrible to look at
2018-08-16 00:16:49 +02:00
Andreas Rumpf
da41fc1801
put the new for loop macros under an experimental switch named 'forLoopMacros'
2018-08-15 17:45:57 +02:00
Araq
83c89197f3
renames threadpool.await to blockUntil; refs #7853
2018-08-14 01:28:04 +02:00
Andreas Rumpf
60c7a0a08f
Merge branch 'araq-misc' of github.com:nim-lang/Nim into araq-misc
2018-08-10 16:51:45 +02:00
Araq
4cf1e3eb4b
rename SystemError to CatchableError in order to avoid breaking Nimble and probably lots of other code
2018-08-10 15:31:53 +02:00
Andreas Rumpf
404de2f23e
Merge branch 'devel' into araq-misc
2018-08-10 12:06:16 +02:00
Andreas Rumpf
1d78ba64b4
rework the exception hierarchy; refs #8363
2018-08-10 11:40:01 +02:00
Andreas Rumpf
1d63a8fe4a
update the 'float' spec; refs #8589
2018-08-10 09:21:46 +02:00
Timothee Cour
43f634db8d
fixes #8519 ; implements T.distinctBase to reverse T = distinct A ( #8531 )
2018-08-10 09:20:14 +02:00
Araq
265003df1a
deprecated regionized pointers
2018-08-10 01:20:14 +02:00
Araq
b4e5c9d075
deprecate the .this pragma
2018-08-09 20:31:40 +02:00
Oscar Nihlgård
5491f1f53b
Deprecate the dot style for import paths ( #8474 )
2018-07-30 09:24:16 -04:00
Andreas Rumpf
1aa3435317
manual.rst: fixes a typo
2018-07-17 15:49:42 +02:00
Andreas Rumpf
32230ffe31
make tests green again
2018-07-06 17:26:45 +02:00
Vindaar
681d8e0749
Deprecate 'c', 'C' prefix for octal literals, fixes #8082 ( #8178 )
...
* deprecate `0c`, `0C` prefix for octal literals
Deprecates the previously allowed syntax of `0c` and `0C` as a prefix for
octal literals to bring the literals in line with the behavior of
`parseOct` from parseutils.
* add `msgKind` arg to `lexMessageLitNum` for deprecation messages
* change literal tests to check all valid integer literals
Also adds the `tinvaligintegerlit3` test to test for the (still)
invalid `0O` prefix.
2018-07-03 01:56:36 +02:00
Kaushal Modi
5ac74da926
Clarify use of special : for passing a block of stmts to template ( #8133 )
...
Fixes https://github.com/nim-lang/Nim/issues/8131 .
2018-06-27 21:37:31 +02:00
Andreas Rumpf
d8f7174dda
Merge pull request #7736 from cooldome/range_float_type
...
Language feature: range float types
2018-06-27 00:08:21 +02:00
Zahary Karadjov
e129466910
requested pull-request changes
2018-06-16 16:46:32 +03:00
Zahary Karadjov
ea36e0ebbe
document the new type[T] and static[T] features
2018-06-16 16:46:32 +03:00
Araq
21a17f3911
document the 'pkg' and 'std' pseudo directories; closes #7250
2018-06-14 16:40:06 +02:00
cooldome
77f33db3ed
style fixes, typos
2018-06-12 09:27:37 +01:00
cooldome
73b7ec9009
merge devel
2018-06-10 22:58:39 +01:00
Chris McIntyre
8557a2e1a5
Fixed operator precedence in example ( #7912 )
...
The order of operations was incorrect for the right-hand side of the `assert` statement on line 3199, based on the operator precedence for line 3197.
2018-06-01 11:24:49 -04:00
data-man
dedf0f3e19
Removed space between "array" and a square bracket in the docs
2018-05-19 20:28:27 +03:00
Zahary Karadjov
cf13c5fba4
implement the export/except statement
2018-05-07 09:37:49 +02:00
Zahary Karadjov
ae5c946a32
Support thread-local variables declared inside procs; fixes #7565
2018-05-07 09:37:49 +02:00
cooldome
d21693f5e4
Merge branch 'devel' into range_float_type
2018-04-30 23:57:33 +01:00
cooldome
b3a80dd2eb
update the doc
2018-04-29 23:17:07 +01:00
Andreas Rumpf
5237ef4f52
update the documentation about the new strings/seqs behaviours
2018-04-29 08:14:00 +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
4f10b5edb6
improve documentation for 'var T return values'; refs #7373
2018-04-21 17:01:33 +02:00
Arne Döring
516ce73066
macro manual improvements ( #7666 )
...
* macro manual improvements
* fixes a typo
* Small fixes
2018-04-21 08:15:41 +02:00
Andreas Rumpf
c9f14ca9be
manual: remove the bind-once typedesc weirdness; replaced by how things should be done
2018-04-15 22:16:07 +02:00
Andreas Rumpf
70c0ff1be2
manual: cleanup the documentation; document for-loop macros; ensure the examples compile
2018-04-15 11:56:18 +02:00