Commit graph

203 commits

Author SHA1 Message Date
Andreas Rumpf
d9604d7d0b manual: document how accessors are resolved; fixes #11514 2019-06-27 21:25:07 +02:00
Juan Carlos
80320c72d3 [bugfix] document the norewrite pragma (#11453)
* fixes #9454
* Peer review feedback, wording, move to experimental manual
2019-06-13 19:37:17 +02:00
Arne Döring
cb45527e37 pass typedesc as NimNode to macros (#11400)
* change typedesc's design in macros

* Manual and changelog entry.

* add link to RFC
2019-06-05 09:17:04 +02:00
Ico Doornekamp
41b74db218 Added 'except X as Y' to section 'except clauses' of manual (#11371) 2019-06-01 10:43:25 +02:00
Andreas Rumpf
49e686ab4e fixes #1286; object case transitions are now sound 2019-05-27 21:29:02 +02:00
Jasper Jenkins
f774426095 Smarter variant object construction (#11273) 2019-05-26 21:22:02 +02:00
Andreas Rumpf
16aa10dfe1 fixes #10038; deprecate generic methods, they are unreliable 2019-05-25 23:56:16 +02:00
Andreas Rumpf
1e97b420bb
fixes #7167 (#11300)
* fixes #7167
* spec: distinct types can be ordinal types
* bootstrapping issue
2019-05-22 11:50:05 +02:00
Araq
f84293ac8f fixes #11237 2019-05-13 09:40:43 +02:00
Jjp137
541751305c manual: fix typo in inImplicitlyConvertible [ci skip] (#11211) 2019-05-09 06:47:43 +02:00
Federico Ceratto
90a7460d91 Document bit fields usage (#11011) 2019-05-04 23:31:05 +02:00
Federico Ceratto
2cdff617fd Update docs around docSeeSrcUrl #6071 (#11074)
Flag docSeeSrcUrl as deprecated.
Add quick start paragraph.
Add links from the language manual.
2019-04-23 11:36:16 +02:00
Araq
135f867870 manual: cleanup the type/typedesc confusions, typedesc is here to stay for good 2019-04-20 17:51:42 +02:00
Andy Davidoff
e2848ccd2b minor capitalization typo in manual (#11028) [ci skip] 2019-04-15 08:44:45 +02:00
Araq
4974f999c3 manual: make currency example compile and ensure it remains working 2019-04-09 22:16:52 +02:00
Andreas Rumpf
fcd3b0c4d8 manual: prefer 'typeof(x)' over 'type(x)' 2019-03-27 15:08:32 +01:00
Andreas Rumpf
3cb645ab50 move more stuff into manual_experimental 2019-03-27 15:08:32 +01:00
Andreas Rumpf
4d0f05a98a manual.rst: move experimental features to manual_experimental 2019-03-27 15:08:32 +01:00
Miran
afeca3d9fe multi-methods need to be explicitly enabled (#10856)
* multi-methods need to be explicitly enabled

* update changelog, manual and tutorial
2019-03-18 08:21:37 +01:00
Andreas Rumpf
4be36d77f6 introduce tfHasOwned for fast must-move checkings; removed tfAcyclic as the GC has ignored this hint for quite some time now 2019-03-05 19:58:54 +01:00
Andreas Rumpf
f86835ce77 manual: document implicit type conversions involving 'range'; refs #10495 2019-02-23 11:49:29 +01:00
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