Commit Graph

884 Commits

Author SHA1 Message Date
Yuriy Glukhov
bf874cff90 Added a few notes regarding JavaScript 2015-12-09 22:32:58 +02:00
Araq
760242b870 removes 'x is iterator' special casing in the language 2015-12-03 01:08:03 +01:00
Araq
5fe71db6d9 'out T' is an alias for 'var T' 2015-11-26 17:46:05 +01:00
Andreas Rumpf
eaed36092c Merge pull request #3573 from yglukhov/doc-fix
Fixed documentation of nnkLet AST
2015-11-25 15:03:43 +01:00
def
ad503ce8f9 Add options module to standard library documentation 2015-11-23 16:14:35 +01:00
Xtreak
e3724925d2 Wrap the example in a code block
Wrap the code inside a code block. The declaration for ``proc even(n: int): bool`` is present twice. Hence removed one and wrapped it in a separate code block.
2015-11-23 18:01:36 +05:30
Yuriy Glukhov
3c70a2e914 doc fix 2015-11-23 13:02:32 +02:00
Araq
f9ad735e55 documented untyped/typed meta-types 2015-11-10 22:51:03 +01:00
Gour
ab0a7303bf fix docgen link 2015-11-07 09:33:55 +01:00
Iakiv Kramarenko
3a5a7a4edf updated 'Void context' section specifying more precisely that assignment to result triggers MANDATORY void context FOR THE SUBSEQUENT EXPRESSIONS 2015-11-02 18:50:10 +02:00
Araq
a90e23a4dd added --reportConceptFailures switch to the manual 2015-10-22 12:14:33 +02:00
Araq
ec2d370053 added --reportConceptFailures switch 2015-10-22 12:14:31 +02:00
Araq
3d512a73e6 documentation improvements; system.nim docs adapted to unix's braindead idea of how software should be packaged which didn't work in 1970 and surprise doesn't work in 2015 either 2015-10-21 02:18:38 +02:00
JamesP
aead71cd67 fix #3418 add example on openArray to types.txt 2015-10-05 10:42:04 +10:00
Adam Strzelecki
be991ed413 Rename rawsockets module to nativesockets
This change was done to avoid confusion with TCP/IP raw sockets. Native sockets
module represents handling native system low level socket API in general and is
not just limited anyhow to TCP/IP raw sockets.

A stub lib/deprecated/pure/rawsockets.nim module has been added as
compatibility layer for old code using rawsockets, so this change will not
break existing code.
2015-10-03 19:45:41 +02:00
Dominik Picheta
3fe5731777 Merge pull request #3389 from nanoant/patch/separate-deprecated-modules
Patch/separate deprecated modules
2015-10-03 14:51:43 +01:00
Aman Gupta
8c86467730 document new bitsize pragma 2015-09-30 12:29:32 -07:00
Adam Strzelecki
e9f5c256d7 parseopt: This module is no longer deprecated
Remove depreciation notice from doc/lib.txt.
2015-09-30 12:28:41 +02:00
Adam Strzelecki
4d2486c858 doc: Move deprecated modules into separate section 2015-09-30 12:28:26 +02:00
Araq
29dac5ed60 Nimscript: the compiler supports a directory wide config.nims file 2015-09-29 21:01:26 +02:00
Aman Gupta
d93ae34d2a s/advanted/advanced/g 2015-09-20 18:16:51 -07:00
Araq
0aa908c86c clarify the meaning of the 'auto' metatype; 'auto' is now bind-multiple; fixes #3224 2015-09-14 20:25:52 +02:00
Araq
48d8728e40 documented implicit compileTime procs 2015-09-14 12:46:43 +02:00
Araq
bbe4afc49b fixes #1782 2015-09-13 23:48:31 +02:00
Araq
3959a59e57 documented void context 2015-09-12 11:07:46 +02:00
Araq
d7a472743b fixes #2559 2015-09-10 10:50:29 +02:00
Araq
f1a17990be minor documentation cleanups 2015-09-08 10:22:16 +02:00
Araq
6d654f866d even better docs 2015-09-08 10:22:13 +02:00
Araq
adf34082f0 documented NimScript 2015-09-07 12:31:34 +02:00
Araq
dc047931bb fixes #2590; methods now require a .base annotation 2015-09-06 02:31:28 +02:00
Andreas Rumpf
63a6bfce71 Merge pull request #3286 from yglukhov/when-nimvm
when nimvm stmt
2015-09-05 10:03:35 +02:00
Yuriy Glukhov
c0fa4b7d9c Added documentation for when nimvm statement. 2015-09-05 01:19:14 +03:00
Adam Strzelecki
0b44d812f1 doc: Trim .txt files trailing whitespace
via OSX: find . -name '*.txt' -exec sed -i '' -E 's/[[:space:]]+$//' {} +
2015-09-04 23:10:48 +02:00
Araq
134c44f3be refs #2973; manual contains almost all pragmas now, few are left in the compiler guide 2015-08-14 02:19:34 +02:00
Michał Zieliński
0575437762 Improve discoverability of 'of' operator 2015-08-02 22:55:22 +02:00
Araq
6b3c46fbd9 website improvements 2015-07-18 15:35:27 +02:00
Dominik Picheta
6c8e9da9ee Merge pull request #3111 from rafaelx/patch-2
Update tut1.txt
2015-07-14 09:05:44 +01:00
Araq
c02db2ff9b documented /*INCLUDESECTION*/ emit section 2015-07-14 01:37:08 +02:00
Rafael
c05b3299fb Update tut1.txt
Example that shows advantage of 'openArray'
2015-07-14 00:15:37 +02:00
Andreas Rumpf
fc9dc6c828 Merge pull request #2272 from def-/unsigned
Move unsigned int operations to system module
2015-07-11 13:28:20 +02:00
Andreas Rumpf
df9b5e6884 Merge pull request #3098 from Varriount/add-nep1
Add NEP1 to documentation.
2015-07-11 13:22:25 +02:00
Varriount
9da1ee4fe4 Add NEP1 to documentation.
Changes:
  - Added NEP 1 to the documentation set.
  - Modified nimdoc's css to add additional spacing between list entries, as well as between code blocks.
  - Added a warning to nimdoc.css for future developers.
2015-07-10 03:51:00 -04:00
Andreas Rumpf
ae0cb7e014 Merge pull request #3085 from apense/patch-10
Update sets documentation. Fixes #3058
2015-07-09 19:48:49 +02:00
apense
7a010cf650 replace -> replacef 2015-07-08 15:01:50 -04:00
apense
66ce99d018 Update sets_fragment.txt 2015-07-08 14:13:00 -04:00
Andreas Rumpf
1ad729ee3b Merge pull request #3020 from flaviut/rename-crc-to-hash
CRC -> Hash
2015-07-05 00:41:13 +02:00
Flaviu Tamas
62b55592e8 CRC -> Hash 2015-07-03 10:13:45 -04:00
Adam Strzelecki
592f867aa5 List warnings & hints via --(hints|warnings):list
Hints and warnings can be now listed using --warnings:list and --hints:list
printing names and checkboxes indicating which of these are enabled.
2015-07-03 14:05:00 +02:00
def
6f145230ee Remove unsigned from lib.txt 2015-07-01 18:59:08 +02:00
Araq
28de800d61 Merge branch 'more_concurrency' into devel
Conflicts:
	doc/tut1.txt
	lib/core/locks.nim
	lib/pure/collections/tables.nim
	lib/pure/selectors.nim
2015-06-30 12:50:24 +02:00