Commit graph

282 commits

Author SHA1 Message Date
narimiran
27364ece14 mention correct usage of export in the manual, fixes #6227 [ci skip] 2019-02-07 16:10:48 +01:00
Timothee Cour
2b30998159 document that multiple yield in inline iterator cause code bloat (#10553)
* document that multiple `yield` in inline iterator cause code duplication
* doc: rule `Start types with a capital T` was deprecated
2019-02-05 13:05:26 +01:00
Oscar Nihlgård
0091f2ad3b Implement {.booldefine.} (#10533) 2019-02-03 09:06:00 +01:00
Andreas Rumpf
c268bfd5a2
new doc terminology for "compile-time" and "runtime" (#10497)
* First pass at compile-time/runtime terminology changes.

* Solid edit pass on changes and successful rst2html; still need to review HTML output.

* Finished this terminology update.

* Incorporated Araq's initial feedback.
2019-01-31 16:19:19 +01:00
deansher
e16310525c Incorporated Araq's initial feedback. 2019-01-30 16:22:08 -05:00
Miran
3d6f2b77b8
fix #9725 (#10503) 2019-01-30 19:50:20 +01:00
deansher
7295468516 Finished this terminology update. 2019-01-29 19:43:01 -05:00
deansher
03a628dddc Solid edit pass on changes and successful rst2html; still need to review HTML output. 2019-01-29 05:35:04 -05:00
deansher
6bae78f365 First pass at compile-time/runtime terminology changes. 2019-01-29 05:35:04 -05:00
Neelesh Chandola
4f0c3274ee Fix example in manual for line pragma (#10468) 2019-01-27 17:29:33 +01:00
narimiran
258952832f remove float128 from the manual, fixes #10213 [ci skip] 2019-01-09 07:01:32 +01:00
Tristano Ajmone
f3bd3691e7 Minor Fixes to Manual Wording (#10214) 2019-01-06 10:45:24 +01:00
Timothee Cour
e1098fa01a document NIM_EXTERNC for emit (#10022) 2018-12-18 09:20:09 +01:00
Andreas Rumpf
413580bc04 new minor language feature: .noSideEffect blocks like .gcsafe blocks 2018-11-27 00:36:29 +01:00
narimiran
696dc1609f fix manual entry for .this pragma [ci skip] 2018-11-18 12:53:21 +01:00
Andreas Rumpf
8a357c270b parser change: 'not' is always a unary operator; fixes #9574 2018-11-07 21:17:52 +01:00
Araq
25cb2e0c70 document system.UncheckedArray 2018-11-06 13:55:03 +01:00
Oscar Nihlgård
163e9de3c2 Unicode escape in string literals (#9390) 2018-10-17 00:14:22 +02:00
Tomohiro
eb4272ba1c manual: Fix links to Parallel & Spawn (#9342) 2018-10-13 08:55:34 +02:00
Tomohiro
d2b04a8bc7 manual: Remove stmt or expr template related text from manual (#9321) 2018-10-12 09:00:27 +02:00
Andrea Ferretti
160f8599c6 Clarify that term rewriting macros are applied recursively (#9305)
Fixes https://github.com/nim-lang/Nim/issues/9288 fixes https://github.com/nim-lang/Nim/issues/8376 and fixes https://github.com/nim-lang/Nim/issues/2901
2018-10-11 15:59:14 +02:00
Araq
532e2ee0b2 more documentation improvements; fixes #9119 2018-09-29 20:10:44 +02:00
Andreas Rumpf
baccd1ad81
Merge pull request #9084 from demotomohiro/fixman
manual: fix typo in 'Pre-defined integer types'
2018-09-28 09:28:31 +02:00
Araq
017d7f5065 manual: fix the layout 2018-09-27 22:42:12 +02:00
Araq
a0ec1c1212 manual: fixes the wording of case statement macros 2018-09-27 22:34:49 +02:00
demotomohiro
c0d378c0aa manual: fix typo in 'Pre-defined integer types' 2018-09-28 00:13:58 +09:00
Andreas Rumpf
4ae9198493 manual updates; document magical system.procCall; fixes #4329 2018-09-17 09:34:00 +02:00
Andreas Rumpf
49d5fb60a7
Merge pull request #8806 from awr1/add-reorder-to-docs
[Docs] Added {.experimental: "codeReordering".} to manual
2018-09-15 00:38:06 +02:00
awr
e4c4cbc176 fixed language wrt initialization 2018-09-12 18:29:01 -05:00
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